first commit

This commit is contained in:
2025-11-16 20:18:30 +08:00
commit ac4b3a9d0b
14 changed files with 711 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{{- if and (.Values.outgoingSMTP.enabled) (not .Values.outgoingSMTP.existingSecret) -}}
apiVersion: v1
kind: Secret
metadata:
labels:
{{- include "mailhog.labels" . | nindent 4 }}
name: {{ template "mailhog.outgoingSMTPSecret" . }}
namespace: {{ .Release.Namespace | quote }}
type: Opaque
data:
{{ .Values.outgoingSMTP.fileName }}: {{ .Values.outgoingSMTP.fileContents | toJson | b64enc }}
{{- end -}}