Skip to content

Commit

Permalink
fix: add pg recovery from last wal
Browse files Browse the repository at this point in the history
  • Loading branch information
achauve committed Apr 10, 2024
1 parent f5e308f commit f9b97b5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
app:
host: "api-monsuivipsy.fabrique.social.gouv.fr"

pg:
backup:
name: "202404101316" # backup on a new folder
cnpg-cluster:
recovery:
enabled: true
~tpl~database: "{{ .Values.global.pgDatabase }}"
~tpl~owner: "{{ .Values.global.pgUser }}"
secretName: "pg-db"
barmanObjectStore:
~tpl~destinationPath: "s3://monsuivipsy-prod-backups/monsuivipsy"
s3Credentials:
accessKeyId:
~tpl~name: "monsuivipsy-prod-backups-access-key"
key: bucket_access_key
secretAccessKey:
~tpl~name: "monsuivipsy-prod-backups-access-key"
key: bucket_secret_key
region:
~tpl~name: "monsuivipsy-prod-backups-access-key"
key: bucket_region

0 comments on commit f9b97b5

Please sign in to comment.