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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
handle standalone DB on helm hook
Ishaan Jaffb4f76556b6df
diff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/deploy/charts/litellm-helm/templates/migrations-job.yamlindex 5c34a8feb43..ec319fe6689 100644--- a/deploy/charts/litellm-helm/templates/migrations-job.yaml+++ b/deploy/charts/litellm-helm/templates/migrations-job.yaml@@ -15,11 +15,13 @@ spec:image: "ghcr.io/berriai/litellm:main-stable"command: ["python", "/litellm/proxy/prisma_migration.py"]env:+ {{- if .Values.db.deployStandalone }}- name: DATABASE_URL- valueFrom:- secretKeyRef:- name: {{ .Values.db.secret.name }}- key: url+ value: postgresql://{{ .Values.postgresql.auth.username }}:{{ .Values.postgresql.auth.password }}@{{ .Release.Name }}-postgresql/{{ .Values.postgresql.auth.database }}+ {{- else if .Values.db.useExisting }}+ - name: DATABASE_URL+ value: {{ .Values.db.url | quote }}+ {{- end }}- name: DISABLE_SCHEMA_UPDATEvalue: "{{ .Values.migrationJob.disableSchemaUpdate }}"restartPolicy: OnFailure