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 }}"