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]

Prevent istio injection for db migrations cron job (#7513)

Low Jian Sheng9cfd7c790a01
diff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/deploy/charts/litellm-helm/templates/migrations-job.yaml
index 8dd184b1a11..4f3dd2d1fae 100644
--- a/deploy/charts/litellm-helm/templates/migrations-job.yaml
+++ b/deploy/charts/litellm-helm/templates/migrations-job.yaml
@@ -10,6 +10,11 @@ metadata:
checksum/config: {{ toYaml .Values | sha256sum }}
spec:
template:
+ metadata:
+ annotations:
+ {{- with .Values.migrationJob.annotations }}
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
spec:
containers:
- name: prisma-migrations
diff --git a/deploy/charts/litellm-helm/values.yaml b/deploy/charts/litellm-helm/values.yaml
index c8e4aa1f2ec..de020aa8c87 100644
--- a/deploy/charts/litellm-helm/values.yaml
+++ b/deploy/charts/litellm-helm/values.yaml
@@ -186,5 +186,6 @@ migrationJob:
retries: 3 # Number of retries for the Job in case of failure
backoffLimit: 4 # Backoff limit for Job restarts
disableSchemaUpdate: false # Skip schema migrations for specific environments. When True, the job will exit with code 0.
+ annotations: {}