From 1df6be47bf9415709b94128d80675c905afd6812 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 23 Oct 2025 20:21:19 -0500 Subject: [PATCH] fix plugins range --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 2 +- charts/postgres-cluster/templates/cluster.yaml | 8 ++++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 4513cf4..f47f1d9 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 6.13.0 +version: 6.14.0 description: Cloudnative-pg Cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 14795cf..08de3aa 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 6.13.0](https://img.shields.io/badge/Version-6.13.0-informational?style=flat-square) ![AppVersion: v1.27.0](https://img.shields.io/badge/AppVersion-v1.27.0-informational?style=flat-square) +![Version: 6.14.0](https://img.shields.io/badge/Version-6.14.0-informational?style=flat-square) ![AppVersion: v1.27.0](https://img.shields.io/badge/AppVersion-v1.27.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 ff0604b..905d6cc 100644 --- a/charts/postgres-cluster/templates/cluster.yaml +++ b/charts/postgres-cluster/templates/cluster.yaml @@ -19,11 +19,15 @@ spec: {{- end }} postgresUID: {{ include "cluster.postgresUID" . }} postgresGID: {{ include "cluster.postgresGID" . }} - {{- range $objectStore := .Values.backup.objectStore }} plugins: + {{- range $objectStore := .Values.backup.objectStore }} - name: barman-cloud.cloudnative-pg.io enabled: true - isWALArchiver: {{ $objectStore.isWALArchiver | default true }} + {{- if $objectStore.isWALArchiver }} + isWALArchiver: true + {{- else }} + isWALArchiver: false + {{- end }} parameters: barmanObjectName: "{{ include "cluster.name" $ }}-{{ $objectStore.name }}-backup" {{- if $objectStore.clusterName }}