From 1b7018d3bdc0bba76b7d6ba3f388ec0d6646cb24 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 21 Dec 2024 22:31:00 -0600 Subject: [PATCH] fix database naming --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 2195141..7f52df8 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.20.0 +version: 3.20.1 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 52de985..86f9cbc 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -37,9 +37,9 @@ bootstrap: {{- end }} {{- else if eq .Values.mode "replica" }} initdb: - {{- if .eq .Values.replica.importType "microservice" }} + {{- if eq .Values.replica.importType "microservice" }} {{- with index .Values.replica.importDatabases 0 }} - database: {{- . | quote }} + database: {{- . | quote }} {{- end }} {{- end }} import: