rework tests

This commit is contained in:
Const-antine 2025-08-28 13:39:09 -04:00
parent 1350336515
commit f8d1e03450

View file

@ -123,9 +123,17 @@ tests:
name: my-litellm-config
key: custom.yaml
asserts:
- equal:
path: spec.template.spec.volumes[?(@.name=="litellm-config")][0].configMap.name
value: my-litellm-config
- equal:
path: spec.template.spec.volumes[?(@.name=="litellm-config")][0].configMap.items[0].key
value: custom.yaml
- contains:
path: spec.template.spec.volumes
content:
name: litellm-config
configMap:
name: my-litellm-config
items:
- key: custom.yaml
path: config.yaml
- contains:
path: spec.template.spec.containers[0].volumeMounts
content:
name: litellm-config
mountPath: /etc/litellm/