added option to set admin.password, tls.key and tls.cert in argocd-secret via values
This commit is contained in:
parent
23eeaa5a8e
commit
1d0012b86f
2 changed files with 16 additions and 1 deletions
|
@ -23,5 +23,15 @@ data:
|
|||
{{- if .Values.configs.secret.bitbucketSecret }}
|
||||
bitbucket.webhook.uuid: {{ .Values.configs.secret.bitbucketSecret | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- if and .Values.configs.secret.argocdServerTlsConfig.key (.Values.configs.secret.argocdServerTlsConfig.cert) }}
|
||||
tls.key: {{ .Values.configs.secret.argocdServerTlsConfig.key | b64enc }}
|
||||
tls.cert: {{ .Values.configs.secret.argocdServerTlsConfig.cert | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.configs.secret.argocdServerAdminPassword }}
|
||||
admin.password: {{ .Values.configs.secret.argocdServerAdminPassword | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
{{- end }}
|
|
@ -524,3 +524,8 @@ configs:
|
|||
githubSecret: ""
|
||||
gitlabSecret: ""
|
||||
bitbucketSecret: ""
|
||||
# argocdServerTlsConfig:
|
||||
# key:
|
||||
# cert:
|
||||
# argocdServerAdminPassword:
|
||||
|
||||
|
|
Loading…
Reference in a new issue