From 1c878eb46adff170255d4b631d64694d63d3d422 Mon Sep 17 00:00:00 2001 From: Michael Haehnel Date: Thu, 2 Feb 2023 10:44:13 +0100 Subject: [PATCH] DEV-790 Reapply pod env cm for postgres --- templates/cm_postgres_bkp.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/cm_postgres_bkp.yaml diff --git a/templates/cm_postgres_bkp.yaml b/templates/cm_postgres_bkp.yaml new file mode 100644 index 0000000..6969f97 --- /dev/null +++ b/templates/cm_postgres_bkp.yaml @@ -0,0 +1,18 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: pg-cluster-config +data: + AWS_ACCESS_KEY_ID: {{ .Values.postgres.bkp_user }} + AWS_SECRET_ACCESS_KEY: {{ .Values.postgres.bkp_pass }} + AWS_ENDPOINT: https://minio.mobene-nsodev:443 + AWS_REGION: "" + AWS_S3_FORCE_PATH_STYLE: "true" # needed for MinIO + BACKUP_NUM_TO_RETAIN: "14" + BACKUP_SCHEDULE: "*/5 * * * *" + CLONE_USE_WALG_RESTORE: "true" + USE_WALG_BACKUP: "true" + USE_WALG_RESTORE: "true" + WALG_DISABLE_S3_SSE: "true" + WAL_S3_BUCKET: postgres \ No newline at end of file