csi-driver/deploy/clusterrole.yaml

88 lines
1.2 KiB
YAML
Raw Normal View History

2024-09-28 05:44:56 +00:00
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: p5x-csi-node
2024-09-28 05:44:56 +00:00
rules: []
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: p5x-csi-controller
2024-09-28 05:44:56 +00:00
rules:
- apiGroups:
- ""
resources:
- persistentvolumes
verbs:
- get
- list
- watch
- create
- delete
- patch
2024-09-28 05:44:56 +00:00
- apiGroups:
- ""
resources:
- persistentvolumeclaims
verbs:
- get
- list
- watch
- update
- apiGroups:
- storage.k8s.io
resources:
- volumeattachments
verbs:
- get
- list
- watch
- patch
- apiGroups:
- storage.k8s.io
resources:
- volumeattachments/status
verbs:
- patch
2024-09-28 05:44:56 +00:00
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- get
- list
- watch
2024-09-28 05:44:56 +00:00
- apiGroups:
- ""
resources:
- events
verbs:
- get
- list
- watch
- create
- update
- patch
2024-09-28 05:44:56 +00:00
- apiGroups:
- storage.k8s.io
resources:
- csinodes
verbs:
- get
- list
- watch
2024-09-28 05:44:56 +00:00
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch