1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-13 19:28:55 +00:00

fix: update kyverno admission-controller role to have delete verb for… (#7527)

* fix: update kyverno admission-controller role to have delete verb for secret

Kyverno stopped working due to the following error:
```
tls "msg"="failed to delete CA secret" "error"="secrets \"kyverno-svc.kyverno.svc.kyverno-tls-ca\" is forbidden: User \"system:serviceaccount:kyverno:kyverno-admission-controller\
```
I'm still not sure why it tries to delete the secret.

Signed-off-by: siddharth <sedflix@gmail.com>

* add codegen-manifest-all

---------

Signed-off-by: siddharth <sedflix@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
siddharth 2023-06-15 11:39:52 +02:00 committed by GitHub
parent 9dd7e46d8a
commit a89860e8ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -17,6 +17,7 @@ rules:
- watch
- create
- update
- delete
- apiGroups:
- ''
resources:

View file

@ -36866,6 +36866,7 @@ rules:
- watch
- create
- update
- delete
- apiGroups:
- ''
resources: