From 2681c3d246e6a1f3e8b14e63e87a8993bad7de77 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 22 Jan 2026 18:12:49 -0600 Subject: [PATCH] fix: add env for retention fix --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 2 +- charts/postgres-cluster/templates/object-store.yaml | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 31a184b..f946915 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 7.4.5 +version: 7.5.0 description: Cloudnative-pg Cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 4780cf1..de31bdb 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 7.4.5](https://img.shields.io/badge/Version-7.4.5-informational?style=flat-square) ![AppVersion: v1.28.0](https://img.shields.io/badge/AppVersion-v1.28.0-informational?style=flat-square) +![Version: 7.5.0](https://img.shields.io/badge/Version-7.5.0-informational?style=flat-square) ![AppVersion: v1.28.0](https://img.shields.io/badge/AppVersion-v1.28.0-informational?style=flat-square) Cloudnative-pg Cluster diff --git a/charts/postgres-cluster/templates/object-store.yaml b/charts/postgres-cluster/templates/object-store.yaml index dc5a0e0..98b9b3d 100644 --- a/charts/postgres-cluster/templates/object-store.yaml +++ b/charts/postgres-cluster/templates/object-store.yaml @@ -15,6 +15,14 @@ metadata: {{- end }} spec: retentionPolicy: {{ .retentionPolicy | default "7d" }} + # Required when not using AWS S3 + # https://github.com/cloudnative-pg/cloudnative-pg/issues/8599 + instanceSidecarConfiguration: + env: + - name: AWS_REQUEST_CHECKSUM_CALCULATION + value: when_required + - name: AWS_RESPONSE_CHECKSUM_VALIDATION + value: when_required configuration: destinationPath: {{ include "cluster.backupDestinationPath" (dict "instance" . "global" $context) }} endpointURL: {{ .endpointURL | default "http://garage-main.garage:3900" }}