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]

add new tests

Const-antine409429ddd62b
diff --git a/deploy/charts/litellm-helm/tests/deployment_tests.yaml b/deploy/charts/litellm-helm/tests/deployment_tests.yaml
index b71f91377f1..81fe6268eb9 100644
--- a/deploy/charts/litellm-helm/tests/deployment_tests.yaml
+++ b/deploy/charts/litellm-helm/tests/deployment_tests.yaml
@@ -115,3 +115,17 @@ tests:
content:
name: EXTRA_ENV_VAR
value: EXTRA_ENV_VAR_VALUE
+ - it: should mount existing configmap when create=false
+ template: deployment.yaml
+ set:
+ proxyConfigMap:
+ create: false
+ name: my-litellm-config
+ key: custom.yaml
+ asserts:
+ - equal:
+ path: spec.template.spec.volumes[?(@.name=="litellm-config")].configMap.name | first
+ value: my-litellm-config
+ - equal:
+ path: spec.template.spec.volumes[?(@.name=="litellm-config")].configMap.items[0].key
+ value: custom.yaml