mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
add permission to get role / clusterRole
This commit is contained in:
parent
204c2b9d8c
commit
3b03531b97
5 changed files with 16 additions and 5 deletions
|
@ -230,7 +230,10 @@ spec:
|
|||
- NotIn
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
anyOf:
|
||||
- type: string
|
||||
- items: {}
|
||||
type: array
|
||||
required:
|
||||
- key
|
||||
- operator
|
||||
|
|
|
@ -63,6 +63,8 @@ rules:
|
|||
- apiGroups:
|
||||
- "*"
|
||||
resources:
|
||||
- roles
|
||||
- clusterroles
|
||||
- rolebindings
|
||||
- clusterrolebindings
|
||||
- configmaps
|
||||
|
|
|
@ -237,8 +237,8 @@ spec:
|
|||
value:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: array
|
||||
items: {}
|
||||
- items: {}
|
||||
type: array
|
||||
required:
|
||||
- key
|
||||
- operator
|
||||
|
@ -560,6 +560,8 @@ rules:
|
|||
- apiGroups:
|
||||
- '*'
|
||||
resources:
|
||||
- roles
|
||||
- clusterroles
|
||||
- rolebindings
|
||||
- clusterrolebindings
|
||||
- configmaps
|
||||
|
|
|
@ -237,8 +237,8 @@ spec:
|
|||
value:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: array
|
||||
items: {}
|
||||
- items: {}
|
||||
type: array
|
||||
required:
|
||||
- key
|
||||
- operator
|
||||
|
@ -560,6 +560,8 @@ rules:
|
|||
- apiGroups:
|
||||
- '*'
|
||||
resources:
|
||||
- roles
|
||||
- clusterroles
|
||||
- rolebindings
|
||||
- clusterrolebindings
|
||||
- configmaps
|
||||
|
|
|
@ -153,6 +153,8 @@ rules:
|
|||
- apiGroups:
|
||||
- "*"
|
||||
resources:
|
||||
- roles
|
||||
- clusterroles
|
||||
- rolebindings
|
||||
- clusterrolebindings
|
||||
- configmaps
|
||||
|
|
Loading…
Reference in a new issue