From e419f77e4c120fb1605a8cf5cbc3d9abb07ce273 Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Tue, 19 Nov 2024 03:09:03 +0200 Subject: [PATCH] Bug Fix: Parameter issue when cluster.postgresql.parameters is empty --- charts/paradedb/templates/cluster.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/paradedb/templates/cluster.yaml b/charts/paradedb/templates/cluster.yaml index 62862a2da..2c80c96fc 100644 --- a/charts/paradedb/templates/cluster.yaml +++ b/charts/paradedb/templates/cluster.yaml @@ -67,9 +67,10 @@ spec: pg_ident: {{- toYaml .pg_ident | nindent 6 }} parameters: - # Required by pg_cron + {{ with .parameters }} + {{- toYaml . | nindent 6 }} + {{ end }} cron.database_name: postgres - {{- toYaml .parameters | nindent 6 }} {{ end }} managed: