---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  labels:
    app.kubernetes.io/instance: cnpg-operator
    app.kubernetes.io/name: cloudnative-pg
    app.kubernetes.io/version: 1.25.1
  name: cnpg-operator-cloudnative-pg-view
rules:
  - apiGroups:
      - postgresql.cnpg.io
    resources:
      - backups
      - clusters
      - databases
      - poolers
      - publications
      - scheduledbackups
      - subscriptions
    verbs:
      - get
      - list
      - watch
