1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-18 02:06:52 +00:00

fix: add permissions to secrets for background controller role ()

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Co-authored-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
This commit is contained in:
Mariam Fahmy 2023-10-23 16:01:20 +03:00 committed by GitHub
parent e1e521910e
commit e21c869254
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions
charts/kyverno/templates/background-controller
config

View file

@ -36,5 +36,13 @@ rules:
- update
resourceNames:
- kyverno-background-controller
- apiGroups:
- ''
resources:
- secrets
verbs:
- get
- list
- watch
{{- end -}}
{{- end -}}

View file

@ -44414,6 +44414,14 @@ rules:
- update
resourceNames:
- kyverno-background-controller
- apiGroups:
- ''
resources:
- secrets
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role