Skip to content

Commit

Permalink
fix: enable wal compression by default (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 authored Aug 3, 2023
1 parent c5bc95e commit 5bb8712
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,8 @@ spec:
secretAccessKey:
key: bucket_secret_key
name: fabrique-prod-backups-access-key
wal:
compression: gzip
minSyncReplicas: 0
maxSyncReplicas: 0
postgresql: {}
Expand Down Expand Up @@ -824,6 +826,8 @@ spec:
secretAccessKey:
key: bucket_secret_key
name: fabrique-prod-backups-access-key
wal:
compression: gzip
minSyncReplicas: 0
maxSyncReplicas: 0
postgresql: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ spec:
secretAccessKey:
key: bucket_secret_key
name: fabrique-dev-backups-access-key
wal:
compression: gzip
minSyncReplicas: 0
maxSyncReplicas: 0
postgresql: {}
Expand Down
2 changes: 2 additions & 0 deletions packages/kontinuous/tests/__snapshots__/pg.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,8 @@ spec:
secretAccessKey:
key: bucket_secret_key
name: fabrique-prod-backups-access-key
wal:
compression: gzip
minSyncReplicas: 0
maxSyncReplicas: 0
postgresql: {}
Expand Down
2 changes: 2 additions & 0 deletions plugins/fabrique/charts/pg/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5bb8712

Please sign in to comment.