apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: topolvm-node
rules:
- apiGroups:
    - ""
  resources:
    - nodes
  verbs:
    - get
    - list
    - watch
    - update
    - patch
- apiGroups:
    - topolvm.cybozu.com
  resources:
    - logicalvolumes
    - logicalvolumes/status
  verbs:
    - get
    - list
    - watch
    - create
    - update
    - delete
    - patch
- apiGroups:
    - storage.k8s.io
  resources:
    - csidrivers
  verbs:
    - get
    - list
    - watch
