feat(argo-cd): add secret labels field (#1778)

Signed-off-by: carlos gonzález <cgrs@users.noreply.github.com>
This commit is contained in:
carlos gonzález 2023-01-19 12:17:48 +01:00
parent 206d4922bf
commit eb874404c4
2 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,9 @@ metadata:
name: argocd-secret name: argocd-secret
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }}
{{- with .Values.configs.secret.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.configs.secret.annotations }} {{- with .Values.configs.secret.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}

View file

@ -392,6 +392,8 @@ configs:
secret: secret:
# -- Create the argocd-secret # -- Create the argocd-secret
createSecret: true createSecret: true
# -- Labels to be added to argocd-secret
labels: {}
# -- Annotations to be added to argocd-secret # -- Annotations to be added to argocd-secret
annotations: {} annotations: {}