fix secret templating

This commit is contained in:
jessebot
2025-01-18 11:02:32 +01:00
parent eeb4a7174a
commit 0f4a6e5530
5 changed files with 15 additions and 15 deletions
+4 -4
View File
@@ -5,12 +5,12 @@ kind: Secret
metadata:
name: pixelfed-mail
data:
host: {{ .Values.pixelfed.mail.host }}
port: {{ .Values.pixelfed.mail.port }}
host: {{ .Values.pixelfed.mail.host | b64enc }}
port: {{ .Values.pixelfed.mail.port | quote | b64enc}}
{{- if .Values.pixelfed.mail.username }}
username: {{ .Values.pixelfed.mail.username }}
username: {{ .Values.pixelfed.mail.username | b64enc }}
{{- end }}
{{- if .Values.pixelfed.mail.password }}
password: {{ .Values.pixelfed.mail.password }}
password: {{ .Values.pixelfed.mail.password | b64enc }}
{{- end }}
{{- end }}