diff --git a/kubernetes/helm/templates/_helpers.tpl b/kubernetes/helm/templates/_helpers.tpl index b28fb06c61d..b917836e734 100644 --- a/kubernetes/helm/templates/_helpers.tpl +++ b/kubernetes/helm/templates/_helpers.tpl @@ -65,8 +65,9 @@ Create the name of the service account to use {{- define "metad.endpoints" -}} {{- $servers := list -}} {{- $thriftPort := toString (.Values.port.metad.thriftPort) }} -{{- range $idx, $ips := .Values.Hosts }} +{{- range $idx,$ips := .Values.Hosts }} {{ $ips:$thriftPort | append $servers }} {{- end -}} {{ join "," $servers }} +{{- end -}} {{- end -}} \ No newline at end of file