fix(tests): fix label/annotation paths and add missing templates
- Replace escaped dot notation (app\.kubernetes\.io/name) with bracket notation (["app.kubernetes.io/name"]) - Add missing templates to test suites (service.yaml, ingress.yaml, httpRoute.yaml, serviceaccount.yaml, persistentVolumeClaim.yaml) - This fixes 40+ test failures related to unknown paths in labels and annotations Test progress: 535/603 passing (89%), up from 495/603 (82%) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
1 parent
7e2690d3c4
commit
e34c0dbb61
10 files changed
+80
-74
No files matched your search
@@ -81,7 +81,7 @@ tests:
|
||||
nvidia.com/gpu: 1
|
||||
asserts:
|
||||
- equal:
|
||||
path: spec.template.spec.containers[0].resources.limits.nvidia\.com/gpu
|
||||
path: spec.template.spec.containers[0].resources.limits["nvidia.com/gpu"]
|
||||
value: 1
|
||||
|
||||
- it: should support ephemeral-storage
|
||||
|
||||
Reference in new issue
Block a user