apiVersion: pgv2.percona.com/v2 kind: PerconaPGCluster metadata: name: percona-standby spec: crVersion: 3.0.0 image: docker.io/percona/percona-distribution-postgresql:18.4-1 postgresVersion: 18 instances: - name: instance1 replicas: 3 dataVolumeClaimSpec: accessModes: - ReadWriteOnce resources: requests: storage: 10Gi proxy: pgBouncer: replicas: 1 image: docker.io/percona/percona-pgbouncer:1.25.2-1 backups: pgbackrest: image: docker.io/percona/percona-pgbackrest:2.58.0-2 configuration: - secret: name: percona-pgbackrest-secret global: # Must match repo1-path in the Crunchy source cluster exactly. repo1-path: /crunchy-to-percona/repo1 repo1-s3-uri-style: path repo1-s3-verify-tls: "n" repos: - name: repo1 s3: bucket: pg-migration endpoint: seaweedfs-all-in-one.postgres-migration.svc.cluster.local:8443 region: us-east-1 standby: enabled: true repoName: repo1 # Crunchy HA service — Patroni always routes this to the current leader. host: crunchy-source-ha.postgres-migration.svc.cluster.local port: 5432 secrets: customTLSSecret: name: crunchy-source-cluster-cert customReplicationTLSSecret: name: crunchy-source-replication-cert