csi-driver/deploy/clusterrolebinding.yaml

25 lines
531 B
YAML
Raw Normal View History

2024-09-28 05:44:56 +00:00
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: csi-node
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: csi-node
subjects:
- kind: ServiceAccount
name: csi-node
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: csi-provisioner
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: csi-provisioner
subjects:
- kind: ServiceAccount
name: csi-controller
namespace: default