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 (#8690)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> Co-authored-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
This commit is contained in:
parent
e1e521910e
commit
e21c869254
2 changed files with 16 additions and 0 deletions
|
@ -36,5 +36,13 @@ rules:
|
|||
- update
|
||||
resourceNames:
|
||||
- kyverno-background-controller
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- secrets
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue