mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-18 02:06:52 +00:00
Add missing delete verb to admission cleanup clusterrole (#7375)
* Add missing delete verb Otherwise the admission cleanup report will not be able to cleanup resources ``` Error from server (Forbidden): admissionreports.kyverno.io "fffa1589-55d5-4428-a467-7778e497295f" is forbidden: User "system:serviceaccount:kyverno:kyverno-cleanup-jobs" cannot delete resource "admissionreports" in API group "kyverno.io" in the namespace "postgres" ``` Signed-off-by: Raúl Garcia Sanchez <info@raulgarcia.de> Signed-off-by: Raul Garcia Sanchez <info@raulgarcia.de> * updated manifests Signed-off-by: Raul Garcia Sanchez <info@raulgarcia.de> --------- Signed-off-by: Raúl Garcia Sanchez <info@raulgarcia.de> Signed-off-by: Raul Garcia Sanchez <info@raulgarcia.de> Co-authored-by: kyverno-bot <104836976+kyverno-bot@users.noreply.github.com> Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
parent
a6786a152e
commit
57347e93df
2 changed files with 2 additions and 0 deletions
|
@ -13,3 +13,4 @@ rules:
|
|||
verbs:
|
||||
- list
|
||||
- deletecollection
|
||||
- delete
|
||||
|
|
|
@ -36473,6 +36473,7 @@ rules:
|
|||
verbs:
|
||||
- list
|
||||
- deletecollection
|
||||
- delete
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
|
|
Loading…
Add table
Reference in a new issue