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:
parent
c96199dee1
commit
b9774deab6
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue