csi-driver/deploy/clusterrolebinding.yaml

25 lines
559 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: p5x-csi-node
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: p5x-csi-node
subjects:
- kind: ServiceAccount
name: p5x-csi-node
namespace: p5x-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: p5x-csi-controller
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: p5x-csi-controller
subjects:
- kind: ServiceAccount
name: p5x-csi-controller
namespace: p5x-system