mirror of https://git.rancher.io/charts
30 lines
672 B
YAML
30 lines
672 B
YAML
kind: ServiceAccount
|
|
apiVersion: v1
|
|
metadata:
|
|
name: vsphere-csi-node
|
|
namespace: {{ .Release.Namespace }}
|
|
---
|
|
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: 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
|