Merge pull request #77094 from xing-yang/update_rbac

Update rbac rule for external-snapshotter e2e test
This commit is contained in:
Kubernetes Prow Robot 2019-04-25 20:04:36 -07:00 committed by GitHub
commit 7289c1e97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ rules:
verbs: ["get", "list", "watch"] verbs: ["get", "list", "watch"]
- apiGroups: [""] - apiGroups: [""]
resources: ["persistentvolumeclaims"] resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch"] verbs: ["get", "list", "watch", "update"]
- apiGroups: ["storage.k8s.io"] - apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"] resources: ["storageclasses"]
verbs: ["get", "list", "watch"] verbs: ["get", "list", "watch"]
@ -62,4 +62,4 @@ roleRef:
kind: ClusterRole kind: ClusterRole
# change the name also here if the ClusterRole gets renamed # change the name also here if the ClusterRole gets renamed
name: external-snapshotter-runner name: external-snapshotter-runner
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io