From 8ce9160f72586b52d4526e713ab40b5e68e0f38f Mon Sep 17 00:00:00 2001 From: Tobias Ward Date: Mon, 16 Sep 2024 14:40:38 -0500 Subject: [PATCH] Fixed issue 388 Issue was because YAML output for this section of the cluster.yaml was parameters: parameters: {} pg_hba: [] pg_indent: [] Whereas it should be parameters: {} pg_hba: {} pg_indent: {} but parameters is a helm keyword so it would consume all the keywords in the parameters step before pg_hba or pg_indent were called. This simple re-ordering should fix the issue (and has for me in testing) Signed-off-by: Tobias Ward --- charts/cluster/templates/cluster.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/cluster/templates/cluster.yaml b/charts/cluster/templates/cluster.yaml index c1879cfef..d5c8bacc4 100644 --- a/charts/cluster/templates/cluster.yaml +++ b/charts/cluster/templates/cluster.yaml @@ -60,12 +60,12 @@ spec: {{- toYaml . | nindent 6 }} {{- end }} {{- with .Values.cluster.postgresql }} - parameters: - {{- toYaml .parameters | nindent 6 }} pg_hba: {{- toYaml .pg_hba | nindent 6 }} pg_ident: {{- toYaml .pg_ident | nindent 6 }} + parameters: + {{- toYaml .parameters | nindent 6 }} {{ end }} managed: