From 6fb2639759f2c4c990b47880bdc4e38449b54648 Mon Sep 17 00:00:00 2001 From: Mohammad Bozorgmehr Date: Tue, 5 Nov 2024 14:14:54 +0330 Subject: [PATCH] Fix ArgoCD diff on postgresql keys Signed-off-by: Mohammad Bozorgmehr --- charts/cluster/templates/cluster.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/charts/cluster/templates/cluster.yaml b/charts/cluster/templates/cluster.yaml index 169683fef..eb9beb690 100644 --- a/charts/cluster/templates/cluster.yaml +++ b/charts/cluster/templates/cluster.yaml @@ -59,14 +59,18 @@ spec: {{- with .Values.cluster.postgresql.shared_preload_libraries }} {{- toYaml . | nindent 6 }} {{- end }} - {{- with .Values.cluster.postgresql }} + {{- with .Values.cluster.postgresql.pg_hba }} pg_hba: - {{- toYaml .pg_hba | nindent 6 }} + {{- toYaml . | nindent 6 }} + {{- end }} + {{- with .Values.cluster.postgresql.pg_ident }} pg_ident: - {{- toYaml .pg_ident | nindent 6 }} + {{- toYaml . | nindent 6 }} + {{- end }} + {{- with .Values.cluster.postgresql.parameters }} parameters: - {{- toYaml .parameters | nindent 6 }} - {{ end }} + {{- toYaml . | nindent 6 }} + {{- end }} managed: {{- with .Values.cluster.roles }}