# Source: https://github.com/kubernetes-sigs/vsphere-csi-driver kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: vsphere-csi-node-binding namespace: {{ .Release.Namespace }} subjects: - kind: ServiceAccount name: vsphere-csi-node namespace: {{ .Release.Namespace }} roleRef: kind: Role name: vsphere-csi-node-role apiGroup: rbac.authorization.k8s.io --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: vsphere-csi-node-cluster-role-binding subjects: - kind: ServiceAccount name: vsphere-csi-node namespace: {{ .Release.Namespace }} roleRef: kind: ClusterRole name: vsphere-csi-node-cluster-role apiGroup: rbac.authorization.k8s.io