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
helm: skip proxy startup prisma db push when migrations Job is enabled (#27200)
Yassin Kortamdbc8f5a93731
diff --git a/deploy/charts/litellm-helm/templates/deployment.yaml b/deploy/charts/litellm-helm/templates/deployment.yamlindex c25c62cc407..a9b41e0d8e0 100644--- a/deploy/charts/litellm-helm/templates/deployment.yaml+++ b/deploy/charts/litellm-helm/templates/deployment.yaml@@ -138,6 +138,16 @@ spec:{{- with .Values.extraEnvVars }}{{- toYaml . | nindent 12 }}{{- end }}+ {{- if .Values.migrationJob.enabled }}+ # Schema updates are owned by the dedicated migrations Job; skip+ # the proxy's startup `prisma db push` so N replicas don't race+ # one DB on every rollout. Placed last (after envVars and+ # extraEnvVars) so this override can't be silently shadowed by a+ # user-supplied DISABLE_SCHEMA_UPDATE under last-wins duplicate-env+ # semantics — same pattern the migrations Job uses.+ - name: DISABLE_SCHEMA_UPDATE+ value: "true"+ {{- end }}envFrom:{{- range .Values.environmentSecrets }}- secretRef: