# permissions for end users to view servicebindings.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  labels:
    rbac.authorization.k8s.io/aggregate-to-view: "true"
  name: viewer-role
rules:
- apiGroups:
  - binding.operators.coreos.com
  - servicebinding.io
  resources:
  - servicebindings
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - binding.operators.coreos.com
  - servicebinding.io
  resources:
  - servicebindings/status
  verbs:
  - get
