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 db migration helm hook

Ishaan Jaff07d7ac3ede89
diff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/deploy/charts/litellm-helm/templates/migrations-job.yaml
index 40be5e5029b..35e53c60677 100644
--- a/deploy/charts/litellm-helm/templates/migrations-job.yaml
+++ b/deploy/charts/litellm-helm/templates/migrations-job.yaml
@@ -13,7 +13,12 @@ spec:
containers:
- name: prisma-migrations
image: "ghcr.io/berriai/litellm:main-stable"
- command: ["python", "/litellm/proxy/prisma_migration.py"]
+ command: ["/bin/sh", "-c"]
+ args:
+ - |
+ pwd
+ ls -la
+ python ../../../litellm/proxy/prisma_migration.py
env:
{{- if .Values.db.deployStandalone }}
- name: DATABASE_URL