feat(argo-cd): add labels to notifications secret (#2191) (#2192)

Signed-off-by: carlos gonzález <cgrs@users.noreply.github.com>
This commit is contained in:
carlos gonzález 2023-07-27 23:44:15 +02:00 committed by GitHub
parent 98da71eb87
commit c358b5e71f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 3 deletions

View file

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