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]

feat(helm): [BerriAI/litellm#11648] support extraContainers in migrations-job.yaml (#11649)

Steven Aldingerb8bdf98a4bfd
diff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/deploy/charts/litellm-helm/templates/migrations-job.yaml
index ba69f0fef8d..f00466bc487 100644
--- a/deploy/charts/litellm-helm/templates/migrations-job.yaml
+++ b/deploy/charts/litellm-helm/templates/migrations-job.yaml
@@ -53,6 +53,9 @@ spec:
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
+ {{- with .Values.migrationJob.extraContainers }}
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
{{- with .Values.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
diff --git a/deploy/charts/litellm-helm/values.yaml b/deploy/charts/litellm-helm/values.yaml
index 213db35a20f..8cf58b507f4 100644
--- a/deploy/charts/litellm-helm/values.yaml
+++ b/deploy/charts/litellm-helm/values.yaml
@@ -197,6 +197,7 @@ migrationJob:
disableSchemaUpdate: false # Skip schema migrations for specific environments. When True, the job will exit with code 0.
annotations: {}
ttlSecondsAfterFinished: 120
+ extraContainers: []
# Additional environment variables to be added to the deployment as a map of key-value pairs
envVars: {