ubicloud/rhizome/kubernetes/manifests/ubicsi/nodeplugin-clusterrole.yaml
mohi-kalantari 2ee5c90f91 Move Ubicsi manifests to rhizome
In order to install the CSI on the clusters, we would upload the
manifests to a control plane vm and apply the manifests from there.
2025-09-17 12:46:34 +02:00

24 lines
658 B
YAML

---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: ubicsi-nodeplugin
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get"]
- apiGroups: [""]
resources: ["serviceaccounts"]
verbs: ["get"]
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "update", "create", "patch"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "create", "delete", "update", "patch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["list", "get"]
- apiGroups: [""]
resources: ["serviceaccounts/token"]
verbs: ["create"]