Skip to content

Commit

Permalink
Forcing serverName to default to cluster.fullname to ensure consistency
Browse files Browse the repository at this point in the history
Closes: #243
Signed-off-by: Itay Grudev <[email protected]>
  • Loading branch information
itay-grudev committed May 24, 2024
1 parent c664085 commit e33dcca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/cluster/templates/_bootstrap.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit e33dcca

Please sign in to comment.