mirror of https://git.rancher.io/charts
29 lines
667 B
YAML
29 lines
667 B
YAML
|
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
|