Skip to content

Commit

Permalink
Added patch verb for volumesnapshotcontents resource to vsphere-csi-c…
Browse files Browse the repository at this point in the history
…ontroller-role for the compatibility with external-snapshotter 5.0 (#1446)
  • Loading branch information
Lintong Jiang authored Jan 11, 2022
1 parent 89a3713 commit 3bb0a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/vanilla/vsphere-csi-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ rules:
verbs: [ "watch", "get", "list" ]
- apiGroups: [ "snapshot.storage.k8s.io" ]
resources: [ "volumesnapshotcontents" ]
verbs: [ "create", "get", "list", "watch", "update", "delete" ]
verbs: [ "create", "get", "list", "watch", "update", "delete", "patch"]
- apiGroups: [ "snapshot.storage.k8s.io" ]
resources: [ "volumesnapshotcontents/status" ]
verbs: [ "update", "patch" ]
Expand Down

0 comments on commit 3bb0a80

Please sign in to comment.