diff --git a/apps/backup/postgresql/gramps/kustomization.yaml b/apps/backup/postgresql/gramps/kustomization.yaml index 08ebf97..3dfb2f9 100644 --- a/apps/backup/postgresql/gramps/kustomization.yaml +++ b/apps/backup/postgresql/gramps/kustomization.yaml @@ -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}} diff --git a/apps/gramps-postgresql/cluster/cluster.yaml b/apps/gramps-postgresql/cluster/cluster.yaml index 27072f5..cbe798d 100644 --- a/apps/gramps-postgresql/cluster/cluster.yaml +++ b/apps/gramps-postgresql/cluster/cluster.yaml @@ -5,6 +5,7 @@ metadata: namespace: gramps spec: instances: 1 + enableSuperuserAccess: true imageName: ghcr.io/cloudnative-pg/postgresql:18.6-standard-trixie bootstrap: initdb: