Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pg): add data.compression: gzip #426

Merged
merged 2 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

j'ai pas trouvé la doc de ce param, c'est le stockage sur disque directement ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capture d’écran 2023-10-06 à 13 57 18

s3Credentials:
accessKeyId:
~tpl~name: "{{ .Values.global.projectName }}-{{ .Values.global.isProd | ternary `prod` `dev` }}-backups-access-key"
Expand Down