From 6aecd9718f4cf29feeb45c974b92af794604a049 Mon Sep 17 00:00:00 2001 From: Shannon Quinn Date: Tue, 25 Nov 2025 15:33:47 -0500 Subject: [PATCH] Added a loop to go through bootstrap_peers and make their output TOML friendly, instead of the Go default. --- script/helm/garage/templates/configmap.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/helm/garage/templates/configmap.yaml b/script/helm/garage/templates/configmap.yaml index bfdc6255..280861e4 100644 --- a/script/helm/garage/templates/configmap.yaml +++ b/script/helm/garage/templates/configmap.yaml @@ -28,7 +28,11 @@ data: # rpc_secret will be populated by the init container from a k8s secret object rpc_secret = "__RPC_SECRET_REPLACE__" - bootstrap_peers = {{ .Values.garage.bootstrapPeers }} + bootstrap_peers = [ + {{- range $index, $peer := .Values.garage.bootstrapPeers }} + {{- if $index}}, {{ end }}{{ $peer | quote }} + {{ end }} + ] {{- if .Values.garage.additionalTopLevelConfig }} {{ .Values.garage.additionalTopLevelConfig | nindent 4 }}