# permissions for end users to view buckets.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: bucket-viewer-role
rules:
- apiGroups:
  - sigs.k8s.io.my.domain
  resources:
  - buckets
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - sigs.k8s.io.my.domain
  resources:
  - buckets/status
  verbs:
  - get
