diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 275de0f..bfdf44b 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 6.7.0 +version: 6.8.0 description: Cloudnative-pg Cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 0a28c8a..7c141c7 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 6.7.0](https://img.shields.io/badge/Version-6.7.0-informational?style=flat-square) ![AppVersion: v1.26.0](https://img.shields.io/badge/AppVersion-v1.26.0-informational?style=flat-square) +![Version: 6.8.0](https://img.shields.io/badge/Version-6.8.0-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 e789dc6..4c74b41 100644 --- a/charts/postgres-cluster/templates/cluster.yaml +++ b/charts/postgres-cluster/templates/cluster.yaml @@ -19,8 +19,8 @@ spec: {{- end }} postgresUID: {{ include "cluster.postgresUID" . }} postgresGID: {{ include "cluster.postgresGID" . }} - {{ if or (eq .Values.backup.method "objectStore") (eq .Values.recovery.method "objectStore") }} - plugins: + {{ if (eq .Values.backup.method "objectStore") }} + plugins: {{ end }} {{- range $objectStore := .Values.backup.objectStore }} - name: barman-cloud.cloudnative-pg.io @@ -35,12 +35,13 @@ spec: {{- end }} {{- end }} {{ if eq .Values.recovery.method "objectStore" }} - - name: barman-cloud.cloudnative-pg.io - enabled: true - isWALArchiver: false - parameters: - barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}" - serverName: {{ include "cluster.recoveryServerName" . }} + externalClusters: + - name: recovery + plugin: + name: barman-cloud.cloudnative-pg.io + parameters: + barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}" + serverName: {{ include "cluster.recoveryServerName" . }} {{ end }} storage: size: {{ .Values.cluster.storage.size }}