From 9a5bc849bc947b8057d57af6b761ac569852077a Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 22 Feb 2024 17:49:00 -0300 Subject: [PATCH] fix recovery naming --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/postgresql-cluster.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 8841c60..f45db9c 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 0.0.4 +version: 0.0.5 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/postgresql-cluster.yaml b/charts/postgres-cluster/templates/postgresql-cluster.yaml index 5df2840..652058d 100644 --- a/charts/postgres-cluster/templates/postgresql-cluster.yaml +++ b/charts/postgres-cluster/templates/postgresql-cluster.yaml @@ -42,9 +42,9 @@ spec: {{- if .Values.backup.recoveryEnabled }} bootstrap: recovery: - source: "postgresql-{{ .Release.Name }}-cluster-recovery-index-{{ .Values.backup.recoveryIndex }}" + source: "postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.backup.recoveryIndex }}" externalClusters: - - name: "postgresql-{{ .Release.Name }}-cluster-recovery-index-{{ .Values.backup.recoveryIndex }}" + - name: "postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.backup.recoveryIndex }}" barmanObjectStore: endpointURL: {{ .Values.backup.endpointURL }} destinationPath: "s3://{{ .Values.backup.bucket }}/{{ .Values.cluster.name }}/postgresql/{{ .Release.Name }}-cluster"