mirror of https://git.rancher.io/charts
23 lines
571 B
YAML
23 lines
571 B
YAML
# Source: https://github.com/kubernetes-sigs/vsphere-csi-driver
|
|
kind: Role
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: vsphere-csi-node-role
|
|
namespace: {{ .Release.Namespace }}
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["configmaps"]
|
|
verbs: ["get", "list", "watch"]
|
|
---
|
|
kind: ClusterRole
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: vsphere-csi-node-cluster-role
|
|
rules:
|
|
- apiGroups: ["cns.vmware.com"]
|
|
resources: ["csinodetopologies"]
|
|
verbs: ["create", "watch"]
|
|
- apiGroups: [""]
|
|
resources: ["nodes"]
|
|
verbs: ["get"]
|