From 8abad4d1a29c14464fc1ac9ac3a2fc8486f90146 Mon Sep 17 00:00:00 2001 From: Dmitry Pchelintsev Date: Tue, 12 Mar 2024 17:41:54 +0300 Subject: [PATCH] Bug Fix: Correct ref to superuserSecret Signed-off-by: Dmitry Pchelintsev --- charts/cluster/templates/cluster.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/cluster/templates/cluster.yaml b/charts/cluster/templates/cluster.yaml index 4c40a12d0..9634dc8f0 100644 --- a/charts/cluster/templates/cluster.yaml +++ b/charts/cluster/templates/cluster.yaml @@ -43,8 +43,10 @@ spec: {{- toYaml . | nindent 4 }} {{ end }} enableSuperuserAccess: {{ .Values.cluster.enableSuperuserAccess }} - superuserSecret: {{ .Values.cluster.superuserSecret }} - + {{- with .Values.cluster.superuserSecret }} + superuserSecret: + name: {{ . }} + {{ end }} postgresql: shared_preload_libraries: {{- if eq .Values.type "timescaledb" }}