Merge branch 'main' into scale_backend_seperate_from_frontend

This commit is contained in:
Jesse Hitch
2025-01-23 08:50:11 +01:00
committed by GitHub
4 changed files with 14 additions and 7 deletions
+4 -2
View File
@@ -1,4 +1,6 @@
{{- if not .Values.pixelfed.mail.existingSecret }}
{{- $username := .Values.pixelfed.mail.username | required ".Values.pixelfed.mail.username is required" }}
{{- $password := .Values.pixelfed.mail.password | required ".Values.pixelfed.mail.password is required" }}
---
apiVersion: v1
kind: Secret
@@ -8,9 +10,9 @@ data:
host: {{ .Values.pixelfed.mail.host | b64enc }}
port: {{ .Values.pixelfed.mail.port | quote | b64enc}}
{{- if .Values.pixelfed.mail.username }}
username: {{ .Values.pixelfed.mail.username | b64enc }}
username: {{ $username | b64enc }}
{{- end }}
{{- if .Values.pixelfed.mail.password }}
password: {{ .Values.pixelfed.mail.password | b64enc }}
password: {{ $password | b64enc }}
{{- end }}
{{- end }}