This commit is contained in:
D4rk4 2020-08-01 20:59:27 +02:00
parent 7e4935174a
commit 1b9a650a19

View file

@ -9,9 +9,9 @@ metadata:
release: {{ .Release.Name }} release: {{ .Release.Name }}
type: Opaque type: Opaque
data: data:
{{- if .Values.secrets.htpasswd }} # {{- if .Values.secrets.htpasswd }}
htpasswd: {{ .Values.secrets.htpasswd | b64enc }} # htpasswd: {{ .Values.secrets.htpasswd | b64enc }}
{{- end }} # {{- end }}
{{- if .Values.secrets.haSharedSecret }} {{- if .Values.secrets.haSharedSecret }}
haSharedSecret: {{ .Values.secrets.haSharedSecret | b64enc | quote }} haSharedSecret: {{ .Values.secrets.haSharedSecret | b64enc | quote }}
{{- else }} {{- else }}