role test
This commit is contained in:
parent
05fa3a60f0
commit
d9080ecb94
1 changed files with 11 additions and 0 deletions
11
generic/role.yaml
Normal file
11
generic/role.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: Role
|
||||||
|
metadata:
|
||||||
|
namespace: default
|
||||||
|
name: service-reader
|
||||||
|
rules:
|
||||||
|
- apiGroups: [""] # "" indicates the core API group
|
||||||
|
resources: ["services"]
|
||||||
|
verbs: ["get", "watch", "list"]
|
||||||
|
|
||||||
|
---
|
Loading…
Reference in a new issue