From c120637e014dd3757b0d71f99923b770c6b0ec53 Mon Sep 17 00:00:00 2001 From: Christian Strack Date: Fri, 13 Aug 2021 14:55:28 +0200 Subject: [PATCH] fix(argo-cd): Remove component labels from aggregation roles Signed-off-by: Christian Strack Co-authored-by: Marco Kilchhofer --- charts/argo-cd/templates/argocd-aggregate-roles.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/argo-cd/templates/argocd-aggregate-roles.yaml b/charts/argo-cd/templates/argocd-aggregate-roles.yaml index 894b8355..27defa05 100644 --- a/charts/argo-cd/templates/argocd-aggregate-roles.yaml +++ b/charts/argo-cd/templates/argocd-aggregate-roles.yaml @@ -5,7 +5,7 @@ metadata: name: {{ include "argo-cd.fullname" . }}-aggregate-to-view labels: rbac.authorization.k8s.io/aggregate-to-view: "true" - {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }} + {{- include "argo-cd.labels" (dict "context" .) | nindent 4 }} rules: - apiGroups: - argoproj.io @@ -24,7 +24,7 @@ metadata: name: {{ include "argo-cd.fullname" . }}-aggregate-to-edit labels: rbac.authorization.k8s.io/aggregate-to-edit: "true" - {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }} + {{- include "argo-cd.labels" (dict "context" .) | nindent 4 }} rules: - apiGroups: - argoproj.io @@ -48,7 +48,7 @@ metadata: name: {{ include "argo-cd.fullname" . }}-aggregate-to-admin labels: rbac.authorization.k8s.io/aggregate-to-admin: "true" - {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }} + {{- include "argo-cd.labels" (dict "context" .) | nindent 4 }} rules: - apiGroups: - argoproj.io