# permissions for end users to view coffees.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: coffee-viewer-role
rules:
- apiGroups:
  - hotdrink.slashpai.github.io
  resources:
  - coffees
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - hotdrink.slashpai.github.io
  resources:
  - coffees/status
  verbs:
  - get
