role test

This commit is contained in:
Nico Schottelius 2021-12-11 11:21:54 +01:00
parent 05fa3a60f0
commit d9080ecb94
1 changed files with 11 additions and 0 deletions

11
generic/role.yaml Normal file
View 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"]
---