apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  annotations:
    authorization.openshift.io/system-only: "true"
    rbac.authorization.kubernetes.io/autoupdate: "true"
  name: system:openshift:controller:template-service-broker
rules:
- apiGroups:
  - authorization.k8s.io
  resources:
  - subjectaccessreviews
  verbs:
  - create
- apiGroups:
  - authorization.openshift.io
  resources:
  - subjectaccessreviews
  verbs:
  - create
- apiGroups:
  - template.openshift.io
  resources:
  - brokertemplateinstances
  verbs:
  - create
  - delete
  - get
  - update
- apiGroups:
  - template.openshift.io
  resources:
  - brokertemplateinstances/finalizers
  verbs:
  - update
- apiGroups:
  - template.openshift.io
  resources:
  - templateinstances
  verbs:
  - assign
  - create
  - delete
  - get
- apiGroups:
  - template.openshift.io
  resources:
  - templates
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - ""
  resources:
  - secrets
  verbs:
  - create
  - delete
  - get
- apiGroups:
  - ""
  resources:
  - configmaps
  - services
  verbs:
  - get
- apiGroups:
  - ""
  resources:
  - routes
  verbs:
  - get
- apiGroups:
  - route.openshift.io
  resources:
  - routes
  verbs:
  - get
- apiGroups:
  - ""
  resources:
  - events
  verbs:
  - create
  - patch
  - update
