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 6ba4da6 commit 2342d5a
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: paradedb-paradedb
name: paradedb
status:
readyInstances: 2
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
type: paradedb
mode: standalone
version:
paradedb: 0.9.4

cluster:
instances: 2
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: paradedb-paradedb-app
name: paradedb-app
key: uri
image: alpine:3.19
command: ['sh', '-c']
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: paradedb-paradedb-app
name: paradedb-app
key: uri
image: alpine:3.19
command: ['sh', '-c']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
- name: DB_URI
valueFrom:
secretKeyRef:
name: paradedb-paradedb-superuser
name: paradedb-superuser
key: uri
image: alpine:3.19
command: ['sh', '-c']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
spec:
method: barmanObjectStore
cluster:
name: paradedb-paradedb
name: paradedb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: post-init-backup
spec:
cluster:
name: paradedb-paradedb
name: paradedb
method: barmanObjectStore
status:
phase: completed
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: post-init-backup
spec:
cluster:
name: paradedb-paradedb
name: paradedb
method: barmanObjectStore
status:
phase: running
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- name: DB_URI
valueFrom:
secretKeyRef:
name: paradedb-paradedb-superuser
name: paradedb-superuser
key: uri
image: alpine:3.19
command: ['sh', '-c']
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: paradedb-paradedb-superuser
name: paradedb-superuser
key: uri
- name: NAMESPACE
valueFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ spec:
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
- podLogs:
selector: cnpg.io/cluster=paradedb
selector: cnpg.io/cluster=recovery-backup-pitr-cluster
- name: Verify the pre-backup data on the recovery cluster exists but not the post-backup data
try:
- apply:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ cluster:

backups:
enabled: true

provider: s3
endpointURL: "https://minio.minio.svc.cluster.local"
endpointCA:
Expand Down

0 comments on commit 2342d5a

Please sign in to comment.