add admin password and tls values to argocd admin-secret.yaml
This commit is contained in:
parent
77e638f55d
commit
0320fede59
1 changed files with 18 additions and 3 deletions
|
@ -2,14 +2,29 @@ apiVersion: v1
|
|||
kind: Secret
|
||||
metadata:
|
||||
name: argocd-secret
|
||||
labels:
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}
|
||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
app.kubernetes.io/part-of: {{ include "argo-cd.name" . }}
|
||||
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 }}
|
||||
github.webhook.secret: {{ .Values.config.webhook.githubSecret }}
|
||||
{{- end }}
|
||||
|
@ -18,4 +33,4 @@ data:
|
|||
{{- end }}
|
||||
{{- if .Values.config.webhook.bitbucketSecret }}
|
||||
bitbucket.webhook.uuid: {{ .Values.config.webhook.bitbucketSecret }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue