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