1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

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

Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
gcp-cherry-pick-bot[bot] 2023-10-24 09:48:17 +00:00 committed by GitHub
parent 573d589c49
commit 662a254520
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 - get
- list - list
- watch - 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 -}}
{{- end -}} {{- end -}}

View file

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