Skip to content

Commit

Permalink
Try this
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemnoel committed Sep 22, 2024
1 parent f0b536c commit 8cc000e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: source-paradedb-cluster
name: source-paradedb
status:
readyInstances: 1
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ spec:
- name: DB_USER
valueFrom:
secretKeyRef:
name: source-paradedb-cluster-superuser
name: source-paradedb-superuser
key: username
- name: DB_PASS
valueFrom:
secretKeyRef:
name: source-paradedb-cluster-superuser
name: source-paradedb-superuser
key: password
- name: DB_URI
value: postgres://$(DB_USER):$(DB_PASS)@source-paradedb-cluster-rw:5432
value: postgres://$(DB_USER):$(DB_PASS)@source-paradedb-rw:5432
image: alpine:3.19
command: ['sh', '-c']
args:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: pg-basebackup-paradedb-cluster
name: pg-basebackup-paradedb
status:
readyInstances: 2
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ recovery:
method: "pg_basebackup"
pgBaseBackup:
source:
host: "source-paradedb-cluster-rw"
host: "source-paradedb-rw"
database: "mygooddb"
username: "streaming_replica"
sslMode: "require"
sslKeySecret:
name: source-paradedb-cluster-replication
name: source-paradedb-replication
key: tls.key
sslCertSecret:
name: source-paradedb-cluster-replication
name: source-paradedb-replication
key: tls.crt

cluster:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- name: DB_URI
valueFrom:
secretKeyRef:
name: pg-basebackup-paradedb-cluster-superuser
name: pg-basebackup-paradedb-superuser
key: uri
image: alpine:3.19
command: ['sh', '-c']
Expand Down

0 comments on commit 8cc000e

Please sign in to comment.