diff --git a/deploy/charts/litellm-helm/tests/deployment_tests.yaml b/deploy/charts/litellm-helm/tests/deployment_tests.yaml index c14d3c3f4f2..f9c83966696 100644 --- a/deploy/charts/litellm-helm/tests/deployment_tests.yaml +++ b/deploy/charts/litellm-helm/tests/deployment_tests.yaml @@ -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/ \ No newline at end of file