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]

fix DATABASE_URL

Ishaan Jaffaa82a88c5fbc
diff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/deploy/charts/litellm-helm/templates/migrations-job.yaml
index 4f8bca1e3af..d998592e23e 100644
--- a/deploy/charts/litellm-helm/templates/migrations-job.yaml
+++ b/deploy/charts/litellm-helm/templates/migrations-job.yaml
@@ -18,7 +18,10 @@ spec:
workingDir: "/app"
env:
- name: DATABASE_URL
- value: {{ .Values.db.url | quote }}
+ valueFrom:
+ secretKeyRef:
+ name: db-secret
+ key: DATABASE_URL
- name: DISABLE_SCHEMA_UPDATE
value: "false" # always run the migration from the Helm PreSync hook, override the value set
restartPolicy: OnFailure