fix(chart): mail secret fixes

This commit is contained in:
holysoles
2025-01-17 11:21:10 -06:00
parent 6de3922760
commit 428752e79a
+5 -1
View File
@@ -1,4 +1,4 @@
{{- if not .Values.externalDatabase.existingSecret }} {{- if not .Values.pixelfed.mail.existingSecret }}
--- ---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
@@ -7,6 +7,10 @@ metadata:
data: data:
host: {{ .Values.pixelfed.mail.host }} host: {{ .Values.pixelfed.mail.host }}
port: {{ .Values.pixelfed.mail.port }} port: {{ .Values.pixelfed.mail.port }}
{{- if .Values.pixelfed.mail.username }}
username: {{ .Values.pixelfed.mail.username }} username: {{ .Values.pixelfed.mail.username }}
{{- end }}
{{- if .Values.pixelfed.mail.password }}
password: {{ .Values.pixelfed.mail.password }} password: {{ .Values.pixelfed.mail.password }}
{{- end }} {{- end }}
{{- end }}