mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +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
|
- update
|
||||||
- watch
|
- watch
|
||||||
- deletecollection
|
- deletecollection
|
||||||
|
{{- if .Values.features.validatingAdmissionPolicyReports.enabled }}
|
||||||
|
- apiGroups:
|
||||||
|
- admissionregistration.k8s.io
|
||||||
|
resources:
|
||||||
|
- validatingadmissionpolicies
|
||||||
|
- validatingadmissionpolicybindings
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
{{- end }}
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ''
|
- ''
|
||||||
- events.k8s.io
|
- events.k8s.io
|
||||||
|
|
Loading…
Add table
Reference in a new issue