From db9d9dde0a2dd60dd014f5133abc440466ddb567 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 13 Nov 2024 16:18:11 -0800 Subject: [PATCH] fix migration job.yaml --- deploy/charts/litellm-helm/templates/migrations-job.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/deploy/charts/litellm-helm/templates/migrations-job.yaml index 2ab361350aa..4f8bca1e3af 100644 --- a/deploy/charts/litellm-helm/templates/migrations-job.yaml +++ b/deploy/charts/litellm-helm/templates/migrations-job.yaml @@ -17,13 +17,8 @@ spec: command: ["python", "litellm/proxy/prisma_migration.py"] workingDir: "/app" env: - {{- if .Values.db.deployStandalone }} - - name: DATABASE_URL - value: postgresql://{{ .Values.postgresql.auth.username }}:{{ .Values.postgresql.auth.password }}@{{ .Release.Name }}-postgresql/{{ .Values.postgresql.auth.database }} - {{- else if .Values.db.useExisting }} - name: DATABASE_URL value: {{ .Values.db.url | quote }} - {{- end }} - name: DISABLE_SCHEMA_UPDATE value: "false" # always run the migration from the Helm PreSync hook, override the value set restartPolicy: OnFailure