1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 10:55:05 +00:00

fix: add VAP and VAPB to reports controller ClusterRole (#8777)

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
Mariam Fahmy 2023-10-30 14:17:40 +02:00 committed by GitHub
parent c96199dee1
commit b9774deab6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,16 @@ rules:
- update
- watch
- deletecollection
{{- if .Values.features.validatingAdmissionPolicyReports.enabled }}
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingadmissionpolicies
- validatingadmissionpolicybindings
verbs:
- get
- list
{{- end }}
- apiGroups:
- ''
- events.k8s.io