From d7ddabe9bc348e8ba13646f980f93a111b714b88 Mon Sep 17 00:00:00 2001 From: Mariam Fahmy Date: Thu, 2 Nov 2023 17:35:36 +0200 Subject: [PATCH] Revert "fix: add VAP and VAPB to reports controller ClusterRole (#8777)" (#8819) This reverts commit b9774deab6c00ffbbdc570134d2277a919b7e112. --- .../templates/reports-controller/clusterrole.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/charts/kyverno/templates/reports-controller/clusterrole.yaml b/charts/kyverno/templates/reports-controller/clusterrole.yaml index 53d11eeb81..14010466ca 100644 --- a/charts/kyverno/templates/reports-controller/clusterrole.yaml +++ b/charts/kyverno/templates/reports-controller/clusterrole.yaml @@ -58,16 +58,6 @@ rules: - update - watch - deletecollection -{{- if .Values.features.validatingAdmissionPolicyReports.enabled }} - - apiGroups: - - admissionregistration.k8s.io - resources: - - validatingadmissionpolicies - - validatingadmissionpolicybindings - verbs: - - get - - list -{{- end }} - apiGroups: - '' - events.k8s.io