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