1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

fix: cleanup controller rbac (#7669)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-06-26 17:38:00 +02:00 committed by GitHub
parent f3a5a885e0
commit f9209de3ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -19,10 +19,11 @@ rules:
resources: resources:
- secrets - secrets
verbs: verbs:
- delete
- get - get
- list - list
- watch
- update - update
- watch
resourceNames: resourceNames:
- {{ template "kyverno.cleanup-controller.name" . }}.{{ template "kyverno.namespace" . }}.svc.kyverno-tls-ca - {{ template "kyverno.cleanup-controller.name" . }}.{{ template "kyverno.namespace" . }}.svc.kyverno-tls-ca
- {{ template "kyverno.cleanup-controller.name" . }}.{{ template "kyverno.namespace" . }}.svc.kyverno-tls-pair - {{ template "kyverno.cleanup-controller.name" . }}.{{ template "kyverno.namespace" . }}.svc.kyverno-tls-pair

View file

@ -38414,10 +38414,11 @@ rules:
resources: resources:
- secrets - secrets
verbs: verbs:
- delete
- get - get
- list - list
- watch
- update - update
- watch
resourceNames: resourceNames:
- kyverno-cleanup-controller.kyverno.svc.kyverno-tls-ca - kyverno-cleanup-controller.kyverno.svc.kyverno-tls-ca
- kyverno-cleanup-controller.kyverno.svc.kyverno-tls-pair - kyverno-cleanup-controller.kyverno.svc.kyverno-tls-pair