mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-02 02:11:58 +00:00
[Fix] Helm: align standalone DB env across app and migration
This commit is contained in:
parent
40623d9561
commit
d5a46747d6
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue