Skip to content

Commit

Permalink
fix(pg): add data.compression: gzip (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon authored Oct 6, 2023
1 parent f91e6e8 commit 5fdbd83
Show file tree
Hide file tree
Showing 4 changed files with 12 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 @@ -756,6 +756,8 @@ spec:
backup:
retentionPolicy: 60d
barmanObjectStore:
data:
compression: gzip
destinationPath: s3://fabrique-prod-backups/test-extends-ovh
endpointURL: https://s3.gra.io.cloud.ovh.net
s3Credentials:
Expand Down Expand Up @@ -840,6 +842,8 @@ spec:
backup:
retentionPolicy: 60d
barmanObjectStore:
data:
compression: gzip
destinationPath: s3://fabrique-prod-backups/test-extends-ovh
endpointURL: https://s3.gra.io.cloud.ovh.net
s3Credentials:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,8 @@ spec:
backup:
retentionPolicy: 60d
barmanObjectStore:
data:
compression: gzip
destinationPath: s3://fabrique-dev-backups/test-override-env-default-feature-branch-1
endpointURL: https://s3.gra.io.cloud.ovh.net
s3Credentials:
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 @@ -516,6 +516,8 @@ spec:
backup:
retentionPolicy: 60d
barmanObjectStore:
data:
compression: gzip
destinationPath: s3://fabrique-prod-backups/test-pg
endpointURL: https://s3.gra.io.cloud.ovh.net
s3Credentials:
Expand Down
4 changes: 4 additions & 0 deletions plugins/fabrique/charts/pg/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ cnpg-cluster:
~tpl~endpointURL: "{{ .Values.global.pgBackupEndpointURL }}"
wal:
compression: gzip
data:
compression: gzip
s3Credentials:
accessKeyId:
~tpl~name: "{{ .Values.global.projectName }}-{{ .Values.global.isProd | ternary `prod` `dev` }}-backups-access-key"
Expand All @@ -80,6 +82,8 @@ cnpg-cluster:
~tpl~endpointURL: "{{ .Values.global.pgBackupEndpointURL }}"
wal:
compression: gzip
data:
compression: gzip
s3Credentials:
accessKeyId:
~tpl~name: "{{ .Values.global.projectName }}-{{ .Values.global.isProd | ternary `prod` `dev` }}-backups-access-key"
Expand Down

0 comments on commit 5fdbd83

Please sign in to comment.