Files
helm-pixelfed/charts/pixelfed/templates/secret_mail.yaml
T
2025-01-18 11:02:32 +01:00

17 lines
467 B
YAML

{{- if not .Values.pixelfed.mail.existingSecret }}
---
apiVersion: v1
kind: Secret
metadata:
name: pixelfed-mail
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 }}
{{- end }}
{{- if .Values.pixelfed.mail.password }}
password: {{ .Values.pixelfed.mail.password | b64enc }}
{{- end }}
{{- end }}