role test

This commit is contained in:
Nico Schottelius 2021-12-11 11:21:54 +01:00
parent 05fa3a60f0
commit d9080ecb94

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"]
---