[Fix] Helm: align standalone DB env across app and migration

This commit is contained in:
ben.wangz 2026-05-05 16:52:49 +08:00
parent 40623d9561
commit d5a46747d6
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ spec:
- name: DATABASE_HOST
value: {{ .Release.Name }}-postgresql
- name: DATABASE_NAME
value: litellm
value: {{ .Values.postgresql.auth.database | default "litellm" }}
{{- else if .Values.db.useExisting }}
- name: DATABASE_USERNAME
valueFrom:

View file

@ -88,7 +88,7 @@ spec:
- name: DATABASE_NAME
value: {{ .Values.postgresql.auth.database | default "litellm" }}
- name: DATABASE_URL
value: {{ .Values.db.url | quote }}
value: postgresql://$(DATABASE_USERNAME):$(DATABASE_PASSWORD)@$(DATABASE_HOST)/$(DATABASE_NAME)
{{- end }}
{{- if .Values.envVars }}
{{- range $key, $val := .Values.envVars }}