From e33dccabdd9ab5c8fc7b7fdbc036d7396818a226 Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Sat, 25 May 2024 01:07:57 +0300 Subject: [PATCH] Forcing serverName to default to cluster.fullname to ensure consistency Closes: #243 Signed-off-by: Itay Grudev --- charts/cluster/templates/_bootstrap.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cluster/templates/_bootstrap.tpl b/charts/cluster/templates/_bootstrap.tpl index 6147f3a77..35797ec1b 100644 --- a/charts/cluster/templates/_bootstrap.tpl +++ b/charts/cluster/templates/_bootstrap.tpl @@ -37,7 +37,7 @@ bootstrap: externalClusters: - name: objectStoreRecoveryCluster barmanObjectStore: - serverName: {{ .Values.recovery.clusterName }} + serverName: {{ default (include "cluster.fullname" .) .Values.recovery.clusterName }} {{- $d := dict "chartFullname" (include "cluster.fullname" .) "scope" .Values.recovery "secretSuffix" "-recovery" -}} {{- include "cluster.barmanObjectStoreConfig" $d | nindent 4 }} {{- else }}