From d02f64916476a1698a96091c3fc9813556a2faf5 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Thu, 18 Apr 2024 03:27:00 -0600 Subject: [PATCH] remove default option in bootstrap helper --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/_bootstrap.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index b8ae0bb..980a881 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 2.3.6 +version: 2.3.7 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 d3883f7..29d6fe7 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -26,7 +26,7 @@ bootstrap: import: type: {{ .Values.replica.importType }} databases: - {{- if and (gt (len .Values.replica.importDatabases) 1) (eq (default .Values.replica.importType "microservice") "microservice") }} + {{- if and (gt (len .Values.replica.importDatabases) 1) (eq .Values.replica.importType "microservice") }} {{ fail "Too many databases in import type of microservice!" }} {{- else}} {{- with .Values.replica.importDatabases }}