diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 8f5bc68..b8ae0bb 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.5 +version: 2.3.6 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 cad726b..d3883f7 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -33,13 +33,13 @@ bootstrap: {{- . | toYaml | nindent 8 }} {{- end }} {{- end }} - {{- if .Values.replica.importType eq "monolith" }} + {{- if eq .Values.replica.importType "monolith" }} roles: {{- with .Values.replica.importRoles }} {{- . | toYaml | nindent 8 }} {{- end }} {{- end }} - {{- if and (.Values.replica.postImportApplicationSQL) (.Values.replica.importType eq "microservice") }} + {{- if and (.Values.replica.postImportApplicationSQL) (eq .Values.replica.importType "microservice") }} postImportApplicationSQL: {{- with .Values.replica.postImportApplicationSQL }} {{- . | toYaml | nindent 8 }}