From deaa0c94d8f68f2d521243cabce9c573e5345e06 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 24 May 2025 03:16:01 -0500 Subject: [PATCH] add default endpoint --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 2 +- charts/postgres-cluster/templates/cluster.yaml | 2 +- charts/postgres-cluster/templates/object-store.yaml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 5fe4b6d..ef848a1 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 6.3.1 +version: 6.3.2 description: Cloudnative-pg Cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 3b94074..3af08af 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 6.3.1](https://img.shields.io/badge/Version-6.3.1-informational?style=flat-square) ![AppVersion: v1.26.0](https://img.shields.io/badge/AppVersion-v1.26.0-informational?style=flat-square) +![Version: 6.3.2](https://img.shields.io/badge/Version-6.3.2-informational?style=flat-square) ![AppVersion: v1.26.0](https://img.shields.io/badge/AppVersion-v1.26.0-informational?style=flat-square) Cloudnative-pg Cluster diff --git a/charts/postgres-cluster/templates/cluster.yaml b/charts/postgres-cluster/templates/cluster.yaml index e7ea638..87204a2 100644 --- a/charts/postgres-cluster/templates/cluster.yaml +++ b/charts/postgres-cluster/templates/cluster.yaml @@ -24,7 +24,7 @@ spec: {{ end }} {{- range $objectStore := .Values.backup.objectStore }} - name: barman-cloud.cloudnative-pg.io - isWALArchiver: {{ $objectStore.isWALArchiver }} + isWALArchiver: {{ $objectStore.isWALArchiver | default true }} parameters: barmanObjectName: "{{ include "cluster.name" $ }}-{{ $objectStore.name }}-backup" {{- end }} diff --git a/charts/postgres-cluster/templates/object-store.yaml b/charts/postgres-cluster/templates/object-store.yaml index 558716c..69e3267 100644 --- a/charts/postgres-cluster/templates/object-store.yaml +++ b/charts/postgres-cluster/templates/object-store.yaml @@ -45,14 +45,14 @@ spec: {{- if .endpointCredentials }} name: {{ .endpointCredentials }} {{- else }} - name: {{ include "cluster.recoveryCredentials" $context }} + name: {{ include "cluster.backupCredentials" $context }} {{- end }} key: ACCESS_KEY_ID secretAccessKey: {{- if .endpointCredentials }} name: {{ .endpointCredentials }} {{- else }} - name: {{ include "cluster.recoveryCredentials" $context }} + name: {{ include "cluster.backupCredentials" $context }} {{- end }} key: ACCESS_SECRET_KEY {{ end -}}