1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 10:55:05 +00:00

add secrets name in background-controller's role (#8721)

Signed-off-by: ShutingZhao <shuting@nirmata.com>
This commit is contained in:
shuting 2023-10-24 17:14:34 +08:00 committed by GitHub
parent 8847e9e35a
commit 580c02ce76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -44,5 +44,8 @@ rules:
- get
- list
- watch
resourceNames:
- {{ template "kyverno.admission-controller.serviceName" . }}.{{ template "kyverno.namespace" . }}.svc.kyverno-tls-ca
- {{ template "kyverno.admission-controller.serviceName" . }}.{{ template "kyverno.namespace" . }}.svc.kyverno-tls-pair
{{- end -}}
{{- end -}}

View file

@ -44422,6 +44422,9 @@ rules:
- get
- list
- watch
resourceNames:
- kyverno-svc.kyverno.svc.kyverno-tls-ca
- kyverno-svc.kyverno.svc.kyverno-tls-pair
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role