mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix: add permission for mutate existing report test (#11339)
Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
This commit is contained in:
parent
4f59e639f2
commit
026791d117
2 changed files with 24 additions and 0 deletions
|
@ -4,6 +4,10 @@ metadata:
|
|||
name: basic-create
|
||||
spec:
|
||||
steps:
|
||||
- name: add permisssions
|
||||
try:
|
||||
- apply:
|
||||
file: permissions.yaml
|
||||
- name: step-01
|
||||
try:
|
||||
- apply:
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: kyverno:secrets-kqo1
|
||||
labels:
|
||||
rbac.kyverno.io/aggregate-to-background-controller: "true"
|
||||
rbac.kyverno.io/aggregate-to-reports-controller: "true"
|
||||
rbac.kyverno.io/aggregate-to-admission-controller: "true"
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- secrets
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- create
|
||||
- update
|
||||
- delete
|
Loading…
Reference in a new issue