# permissions for end users to view tenantresources.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: tenantresource-viewer-role
rules:
- apiGroups:
  - capsule.clastix.io
  resources:
  - tenantresources
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - capsule.clastix.io
  resources:
  - tenantresources/status
  verbs:
  - get
