added automatically set passwordMtime and adding adminpassword to outer check
This commit is contained in:
parent
418b07bcb6
commit
9fcda07fc7
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||
appVersion: "1.2.4"
|
||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 1.0.7
|
||||
version: 1.0.8
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
||||
keywords:
|
||||
|
|
|
@ -11,7 +11,7 @@ metadata:
|
|||
app.kubernetes.io/part-of: argocd
|
||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
||||
type: Opaque
|
||||
{{- if or .Values.configs.secret.githubSecret (or .Values.configs.secret.gitlabSecret .Values.configs.secret.bitbucketSecret .Values.configs.secret.argocdServerAdminPassword ) }}
|
||||
{{- if or .Values.configs.secret.githubSecret (or .Values.configs.secret.gitlabSecret .Values.configs.secret.bitbucketSecret .Values.configs.secret.argocdServerAdminPassword .Values.configs.secret.argocdServerTlsConfig) }}
|
||||
# Setting a blank data again will wipe admin password/key/cert
|
||||
data:
|
||||
{{- if .Values.configs.secret.githubSecret }}
|
||||
|
@ -23,7 +23,7 @@ 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) }}
|
||||
{{- if .Values.configs.secret.argocdServerTlsConfig }}
|
||||
tls.key: {{ .Values.configs.secret.argocdServerTlsConfig.key | b64enc }}
|
||||
tls.cert: {{ .Values.configs.secret.argocdServerTlsConfig.cert | b64enc }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue