ubicloud/kubernetes/csi/deploy/charts/ubicsi/templates/nodeplugin-clusterrole.yaml
mohi-kalantari 538a34a9fa Create a helm chart for Ubicsi
This chart will be used to install Ubicsi on newly created clusters

Since a new helm chart is introduced for deploying ubicsi,
manifests in csi dir will be a duplicate to the main chart and are
removed.
2025-09-12 11:45:51 +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"]