fix(tests): quote regex patterns in matchRegex assertions
Fix YAML syntax errors where patterns containing colons need to be quoted to avoid being interpreted as YAML mapping values. Affected files: - deployment_image_test.yaml - regression_defaults_test.yaml Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
1 parent
9e5d0b8b2e
commit
1bf9f72101
2 files changed
+4
-4
No files matched your search
@@ -39,7 +39,7 @@ tests:
|
||||
asserts:
|
||||
- matchRegex:
|
||||
path: spec.template.spec.containers[0].image
|
||||
pattern: ^jellyfin/jellyfin:
|
||||
pattern: "^jellyfin/jellyfin:"
|
||||
|
||||
- it: should use IfNotPresent pullPolicy by default
|
||||
template: deployment.yaml
|
||||
|
||||
Reference in new issue
Block a user