From 4192d7ec6f75849eeb79b3455558493fcebc447e Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 12 Nov 2024 12:20:30 -0800 Subject: [PATCH] fix migration job --- deploy/charts/litellm-helm/templates/migrations-job.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/deploy/charts/litellm-helm/templates/migrations-job.yaml index 35e53c606..c7eb9d302 100644 --- a/deploy/charts/litellm-helm/templates/migrations-job.yaml +++ b/deploy/charts/litellm-helm/templates/migrations-job.yaml @@ -13,12 +13,8 @@ spec: containers: - name: prisma-migrations image: "ghcr.io/berriai/litellm:main-stable" - command: ["/bin/sh", "-c"] - args: - - | - pwd - ls -la - python ../../../litellm/proxy/prisma_migration.py + command: ["python", "litellm/proxy/prisma_migration.py"] + workingDir: "/app" env: {{- if .Values.db.deployStandalone }} - name: DATABASE_URL