first commit
This commit is contained in:
12
templates/auth-secret.yaml
Normal file
12
templates/auth-secret.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- if and (.Values.auth.enabled) (not .Values.auth.existingSecret) -}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "mailhog.labels" . | nindent 4 }}
|
||||
name: {{ template "mailhog.authFileSecret" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
type: Opaque
|
||||
data:
|
||||
{{ .Values.auth.fileName }}: {{ .Values.auth.fileContents | b64enc }}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user