From 23414f989a5b48de869091410d20582d54e114fb Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Mon, 30 Oct 2023 12:11:44 +0200 Subject: [PATCH] Add notification cluster role Signed-off-by: drfaust92 --- .../templates/argocd-notifications/clusterrolebinding.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/charts/argo-cd/templates/argocd-notifications/clusterrolebinding.yaml b/charts/argo-cd/templates/argocd-notifications/clusterrolebinding.yaml index a66c2bd4..1b47bf12 100644 --- a/charts/argo-cd/templates/argocd-notifications/clusterrolebinding.yaml +++ b/charts/argo-cd/templates/argocd-notifications/clusterrolebinding.yaml @@ -1,5 +1,4 @@ -{{- $config := .Values.notifications.clusterAdminAccess | default dict -}} -{{- if hasKey $config "enabled" | ternary $config.enabled .Values.createClusterRoles }} +{{- if .Values.createClusterRoles }} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: