Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

rework tests

Const-antinef8d1e034507e
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