diff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/deploy/charts/litellm-helm/templates/migrations-job.yaml index ec80e86b21..0d9f67ffb4 100644 --- a/deploy/charts/litellm-helm/templates/migrations-job.yaml +++ b/deploy/charts/litellm-helm/templates/migrations-job.yaml @@ -54,7 +54,7 @@ spec: value: {{ .Values.db.database }} - name: DATABASE_URL value: {{ .Values.db.url | quote }} - {{- else }} + {{- else if .Values.db.deployStandalone }}}} - name: DATABASE_URL value: postgresql://{{ .Values.postgresql.auth.username }}:{{ .Values.postgresql.auth.password }}@{{ .Release.Name }}-postgresql/{{ .Values.postgresql.auth.database }} {{- end }}