apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: cloud-resource-operator-role
rules:
- apiGroups:
  - ""
  resources:
  - configmaps
  - endpoints
  - events
  - persistentvolumeclaims
  - pods
  - pods/exec
  - secrets
  - services
  - services/finalizers
  verbs:
  - '*'
- apiGroups:
  - apps
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - cloud-resource-operator
  resources:
  - deployments/finalizers
  verbs:
  - update
- apiGroups:
  - cloudcredential.openshift.io
  resources:
  - credentialsrequests
  verbs:
  - '*'
- apiGroups:
  - config.openshift.io
  resources:
  - '*'
  - authentications
  - builds
  - clusteroperators
  - featuregates
  - infrastructures
  - ingresses
  - networks
  - schedulers
  verbs:
  - '*'
- apiGroups:
  - integreatly
  resources:
  - '*'
  verbs:
  - '*'
- apiGroups:
  - integreatly.org
  resources:
  - '*'
  - postgres
  - postgressnapshots
  - redis
  - redissnapshots
  - smtpcredentialset
  verbs:
  - '*'
- apiGroups:
  - integreatly.org
  resources:
  - blobstorages
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - integreatly.org
  resources:
  - blobstorages/status
  verbs:
  - get
  - patch
  - update
- apiGroups:
  - monitoring.coreos.com
  resources:
  - prometheusrules
  verbs:
  - '*'
- apiGroups:
  - monitoring.coreos.com
  resources:
  - servicemonitors
  verbs:
  - create
  - get
- apiGroups:
  - operators.coreos.com
  resources:
  - catalogsources
  verbs:
  - get
  - patch
  - update
