Back up all Gramps databases through CNPG
This commit is contained in:
1 parent
26b28f1757
commit
0e7b8cbb62
2 files changed
+5
-4
No files matched your search
@@ -19,9 +19,9 @@ patches:
|
||||
- name: pg-dump
|
||||
env:
|
||||
- {name: BACKUP_TARGET, value: gramps}
|
||||
- {name: BACKUP_MODE, value: database}
|
||||
- {name: BACKUP_MODE, value: all}
|
||||
- {name: PGHOST, value: gramps-cnpg-rw}
|
||||
- {name: PGUSER, value: gramps}
|
||||
- {name: PGDATABASE, value: gramps}
|
||||
- {name: PGUSER, value: postgres}
|
||||
- {name: PGDATABASE, value: postgres}
|
||||
- name: PGPASSWORD
|
||||
valueFrom: {secretKeyRef: {name: gramps-postgresql, key: password}}
|
||||
valueFrom: {secretKeyRef: {name: gramps-cnpg-superuser, key: password}}
|
||||
@@ -5,6 +5,7 @@ metadata:
|
||||
namespace: gramps
|
||||
spec:
|
||||
instances: 1
|
||||
enableSuperuserAccess: true
|
||||
imageName: ghcr.io/cloudnative-pg/postgresql:18.6-standard-trixie
|
||||
bootstrap:
|
||||
initdb:
|
||||
|
||||
Reference in new issue
Block a user