# permissions for end users to view nodemaintenances.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: nodemaintenance-viewer-role
rules:
- apiGroups:
  - nodemaintenance.kubevirt.io
  resources:
  - nodemaintenances
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - nodemaintenance.kubevirt.io
  resources:
  - nodemaintenances/status
  verbs:
  - get
