apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: amq-broker-operator-role
rules:
- apiGroups:
  - ""
  resources:
  - configmaps
  - endpoints
  - events
  - persistentvolumeclaims
  - pods
  - routes
  - secrets
  - serviceaccounts
  - services
  verbs:
  - create
  - delete
  - get
  - list
  - update
  - watch
- apiGroups:
  - ""
  resources:
  - namespaces
  verbs:
  - get
- apiGroups:
  - apps
  resources:
  - daemonsets
  - deployments
  - replicasets
  - statefulsets
  verbs:
  - create
  - delete
  - get
  - list
  - update
  - watch
- apiGroups:
  - apps
  resources:
  - deployments/finalizers
  verbs:
  - update
- apiGroups:
  - broker.amq.io
  resources:
  - activemqartemisaddresses
  - activemqartemises
  - activemqartemisscaledowns
  - activemqartemissecurities
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - broker.amq.io
  resources:
  - activemqartemisaddresses/finalizers
  - activemqartemises/finalizers
  - activemqartemisscaledowns/finalizers
  - activemqartemissecurities/finalizers
  verbs:
  - update
- apiGroups:
  - broker.amq.io
  resources:
  - activemqartemisaddresses/status
  - activemqartemises/status
  - activemqartemisscaledowns/status
  - activemqartemissecurities/status
  verbs:
  - get
  - patch
  - update
- apiGroups:
  - broker.amq.io
  resources:
  - pods
  verbs:
  - get
  - list
- apiGroups:
  - monitoring.coreos.com
  resources:
  - servicemonitors
  verbs:
  - create
  - get
- apiGroups:
  - networking.k8s.io
  resources:
  - ingresses
  verbs:
  - create
  - delete
  - get
  - list
  - update
  - watch
- apiGroups:
  - policy
  resources:
  - poddisruptionbudgets
  verbs:
  - create
  - delete
  - get
  - list
  - update
  - watch
- apiGroups:
  - rbac.authorization.k8s.io
  resources:
  - rolebindings
  - roles
  verbs:
  - create
  - delete
  - get
- apiGroups:
  - route.openshift.io
  resources:
  - routes
  - routes/custom-host
  - routes/status
  verbs:
  - create
  - delete
  - get
  - list
  - update
  - watch
