diff --git a/generic/role.yaml b/generic/role.yaml new file mode 100644 index 0000000..4987dc6 --- /dev/null +++ b/generic/role.yaml @@ -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"] + +---