diff --git a/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml b/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml index 6430eed5d3..4d8e82f9d8 100644 --- a/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml @@ -746,6 +746,8 @@ spec: secretAccessKey: key: bucket_secret_key name: fabrique-prod-backups-access-key + wal: + compression: gzip minSyncReplicas: 0 maxSyncReplicas: 0 postgresql: {} @@ -824,6 +826,8 @@ spec: secretAccessKey: key: bucket_secret_key name: fabrique-prod-backups-access-key + wal: + compression: gzip minSyncReplicas: 0 maxSyncReplicas: 0 postgresql: {} diff --git a/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml b/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml index 01ad62bef6..ddc60a19f5 100644 --- a/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml @@ -353,6 +353,8 @@ spec: secretAccessKey: key: bucket_secret_key name: fabrique-dev-backups-access-key + wal: + compression: gzip minSyncReplicas: 0 maxSyncReplicas: 0 postgresql: {} diff --git a/packages/kontinuous/tests/__snapshots__/pg.prod.yaml b/packages/kontinuous/tests/__snapshots__/pg.prod.yaml index 3d89b0305b..cc2e55a268 100644 --- a/packages/kontinuous/tests/__snapshots__/pg.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/pg.prod.yaml @@ -517,6 +517,8 @@ spec: secretAccessKey: key: bucket_secret_key name: fabrique-prod-backups-access-key + wal: + compression: gzip minSyncReplicas: 0 maxSyncReplicas: 0 postgresql: {} diff --git a/plugins/fabrique/charts/pg/values.yaml b/plugins/fabrique/charts/pg/values.yaml index 92ac7181dc..ad5200a72b 100644 --- a/plugins/fabrique/charts/pg/values.yaml +++ b/plugins/fabrique/charts/pg/values.yaml @@ -50,6 +50,8 @@ cnpg-cluster: barmanObjectStore: ~tpl~destinationPath: "s3://{{ .Values.global.projectName }}-{{ .Values.global.isProd | ternary `prod` `dev` }}-backups/{{ .Values.global.namespace }}/{{ index .Values.kontinuous.chartContext 2 }}{{ (ne .Values.Parent.backup.name ``) | ternary (print `-` .Values.Parent.backup.name) `` }}" ~tpl~endpointURL: "{{ .Values.global.pgBackupEndpointURL }}" + wal: + compression: gzip s3Credentials: accessKeyId: ~tpl~name: "{{ .Values.global.projectName }}-{{ .Values.global.isProd | ternary `prod` `dev` }}-backups-access-key"