Add rules in clusterrole for k8s snapshot components

This will add rules to cluster role for k8s snapshot components.
These RBAC permissions are required for scope to fetch details about
volumesnapshots and volumesnapshotdata resources.

Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
This commit is contained in:
Akash Srivastava
2018-10-17 17:53:47 +05:30
parent 4701c61969
commit bc550e8e1d

View File

@@ -51,3 +51,11 @@ rules:
verbs:
- list
- watch
- apiGroups:
- volumesnapshot.external-storage.k8s.io
resources:
- volumesnapshots
- volumesnapshotdatas
verbs:
- list
- watch