helm: add option for external db (#15722)

This commit is contained in:
Alex Dunn
2021-02-14 11:16:32 -08:00
committed by GitHub
parent 3447bd2f80
commit 55a6b54f8e
12 changed files with 41 additions and 1 deletions

View File

@ -59,7 +59,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: