1
0
Fork 0
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:
Shuting Zhao 2020-07-10 20:04:52 -07:00
parent 204c2b9d8c
commit 3b03531b97
5 changed files with 16 additions and 5 deletions

View file

@ -230,7 +230,10 @@ spec:
- NotIn
type: string
value:
type: string
anyOf:
- type: string
- items: {}
type: array
required:
- key
- operator

View file

@ -63,6 +63,8 @@ rules:
- apiGroups:
- "*"
resources:
- roles
- clusterroles
- rolebindings
- clusterrolebindings
- configmaps

View file

@ -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

View file

@ -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

View file

@ -153,6 +153,8 @@ rules:
- apiGroups:
- "*"
resources:
- roles
- clusterroles
- rolebindings
- clusterrolebindings
- configmaps