apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: p5x-csi-node rules: [] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: p5x-csi-controller rules: - apiGroups: - "" resources: - persistentvolumes verbs: - get - list - watch - create - delete - patch - 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 - apiGroups: - storage.k8s.io resources: - storageclasses verbs: - get - list - watch - apiGroups: - "" resources: - events verbs: - get - list - watch - create - update - patch - apiGroups: - storage.k8s.io resources: - csinodes verbs: - get - list - watch - apiGroups: - "" resources: - nodes verbs: - get - list - watch