# permissions for end users to view prometheusrules.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: prometheusrule-viewer-role
rules:
- apiGroups:
  - monitoring.bolinda.digital
  resources:
  - prometheusrules
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - monitoring.bolinda.digital
  resources:
  - prometheusrules/status
  verbs:
  - get
