apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: postgresqlinstances.database.example.org
  labels:
    rbac.crossplane.io/aggregate-to-crossplane: "true"
rules:
- apiGroups:
  - database.example.org
  resources:
  - postgresqlinstances
  - postgresqlinstances/status
  - postgresqlinstancerequirements
  - postgresqlinstancerequirements/status
  verbs:
  - "*"

