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