From 437bdaf1db464181e86eda78d376e24de55205a5 Mon Sep 17 00:00:00 2001 From: Jonathan Amiez Date: Tue, 17 Oct 2023 18:40:45 +0200 Subject: [PATCH] Create clusterrole along with binding Signed-off-by: Jonathan Amiez --- charts/policy-reporter/templates/clusterrole.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/policy-reporter/templates/clusterrole.yaml b/charts/policy-reporter/templates/clusterrole.yaml index 8186ef33..d0505c41 100644 --- a/charts/policy-reporter/templates/clusterrole.yaml +++ b/charts/policy-reporter/templates/clusterrole.yaml @@ -1,4 +1,4 @@ -{{- if .Values.serviceAccount.create -}} +{{- if .Values.rbac.enabled -}} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: