From 2b9ea0bcdb23b9f2d984e9f0e48feada23dcc519 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 14 Mar 2024 06:32:41 -0600 Subject: [PATCH] fix bootstrap switch --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/postgresql-cluster.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index a8a636b..0f6499e 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 0.2.2 +version: 0.2.3 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 dc1b025..071e548 100644 --- a/charts/postgres-cluster/templates/postgresql-cluster.yaml +++ b/charts/postgres-cluster/templates/postgresql-cluster.yaml @@ -38,7 +38,7 @@ spec: {{- toYaml .Values.bootstrap.initdb | nindent 6 }} {{- end }} - {{- if .Values.backup.recoveryEnabled }} + {{- if .Values.bootstrap.recoveryEnabled }} bootstrap: recovery: source: "postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.bootstrap.recoveryIndex }}"