1
0
Files
nfs-subdir-external-provisi…/deploy/auth/clusterrole.yaml
Charlie Drage a1ae5b39ce nfs-client: rbac no longer alpha, add serviceAccount to deployment
RBCA is no longer alpha and thus `v1` is only needed.

Service account has been added to deployment.yaml in order to get the
example to work correctly.

(cherry picked from commit 95186ce5dc)
2020-09-07 05:49:08 +00:00

18 lines
543 B
YAML

kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: nfs-client-provisioner-runner
rules:
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["events"]
verbs: ["list", "watch", "create", "update", "patch"]