[argocd] add annotations for secret (#308)
This commit is contained in:
parent
53edfb9fc5
commit
0eb0730abb
4 changed files with 11 additions and 1 deletions
|
|
@ -10,6 +10,12 @@ metadata:
|
|||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
app.kubernetes.io/part-of: argocd
|
||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
||||
{{- if .Values.configs.secret.annotations }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.configs.secret.annotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
type: Opaque
|
||||
{{- if or .Values.configs.secret.githubSecret (or .Values.configs.secret.gitlabSecret .Values.configs.secret.bitbucketUUID .Values.configs.secret.bitbucketServerSecret .Values.configs.secret.gogsSecret .Values.configs.secret.argocdServerAdminPassword .Values.configs.secret.argocdServerTlsConfig .Values.configs.secret.extra) }}
|
||||
# Setting a blank data again will wipe admin password/key/cert
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue