Update verbs for volumeattachments resource (#8731)
* Update verbs for volumeattachments resource Update verbs for volumeattachments resource so that the kubelet can create volumeattachments and mount volumes when deploying Kubernetes on VMware vSphere. * Update verbs for volumeattachments resource Update verbs for volumeattachments resource to match upstream * Update vsphere-csi-controller-rbac.yml.j2
This commit is contained in:
parent
2c2d4513ac
commit
3f065918d9
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ rules:
|
||||||
verbs: ["get", "list", "watch"]
|
verbs: ["get", "list", "watch"]
|
||||||
- apiGroups: ["storage.k8s.io"]
|
- apiGroups: ["storage.k8s.io"]
|
||||||
resources: ["volumeattachments"]
|
resources: ["volumeattachments"]
|
||||||
verbs: ["get", "list", "watch", "patch"]
|
verbs: ["get", "list", "watch", "patch", "update"]
|
||||||
{% if external_vsphere_version >= "7.0u1" %}
|
{% if external_vsphere_version >= "7.0u1" %}
|
||||||
- apiGroups: ["cns.vmware.com"]
|
- apiGroups: ["cns.vmware.com"]
|
||||||
resources: ["triggercsifullsyncs"]
|
resources: ["triggercsifullsyncs"]
|
||||||
|
|
Loading…
Reference in a new issue