add admin password and tls values to argocd admin-secret.yaml

This commit is contained in:
Karen Almog 2019-08-19 15:03:08 +02:00
parent 77e638f55d
commit 0320fede59

View file

@ -10,6 +10,21 @@ metadata:
app.kubernetes.io/part-of: {{ include "argo-cd.name" . }} app.kubernetes.io/part-of: {{ include "argo-cd.name" . }}
type: Opaque type: Opaque
data: data:
{{- if .Values.config.admin.password }}
admin.password: {{ .Values.config.admin.password }}
{{- end }}
{{- if .Values.config.admin.passwordMtime }}
admin.passwordMtime: {{ .Values.config.admin.passwordMtime }}
{{- end }}
{{- if .Values.config.server.secretkey }}
server.secretkey: {{ .Values.config.server.secretkey }}
{{- end }}
{{- if .Values.config.tls.crt }}
tls.crt: {{ .Values.config.tls.crt }}
{{- end }}
{{- if .Values.config.tls.key }}
tls.key: {{ .Values.config.tls.key }}
{{- end }}
{{- if .Values.config.webhook.githubSecret }} {{- if .Values.config.webhook.githubSecret }}
github.webhook.secret: {{ .Values.config.webhook.githubSecret }} github.webhook.secret: {{ .Values.config.webhook.githubSecret }}
{{- end }} {{- end }}