mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
* add VAP and VAPB to admission controller ClusterRole * make conditional * remove manual additions --------- Signed-off-by: Chip Zoller <chipzoller@gmail.com> Signed-off-by: chipzoller <chipzoller@gmail.com> Signed-off-by: shuting <shuting@nirmata.com> Co-authored-by: Chip Zoller <chipzoller@gmail.com> Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
parent
e792e87e97
commit
ff407b7d78
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ rules:
|
|||
resources:
|
||||
- mutatingwebhookconfigurations
|
||||
- validatingwebhookconfigurations
|
||||
{{- if .Values.features.generateValidatingAdmissionPolicy.enabled }}
|
||||
- validatingadmissionpolicies
|
||||
- validatingadmissionpolicybindings
|
||||
{{- end }}
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
|
|
Loading…
Reference in a new issue