helm: add option for external db (#15722)
This commit is contained in:
parent
3447bd2f80
commit
55a6b54f8e
12 changed files with 41 additions and 1 deletions
|
@ -53,7 +53,11 @@ spec:
|
|||
- name: "DB_PASS"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
{{- if .Values.postgresql.enabled }}
|
||||
name: {{ .Release.Name }}-postgresql
|
||||
{{- else }}
|
||||
name: {{ template "mastodon.fullname" . }}
|
||||
{{- end }}
|
||||
key: postgresql-password
|
||||
- name: "REDIS_PASSWORD"
|
||||
valueFrom:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue