From cfd4512195d862230c4719cbebe1c896b6d0260c Mon Sep 17 00:00:00 2001 From: knightXun <1004815462@qq.com> Date: Sun, 16 Feb 2020 17:56:04 +0800 Subject: [PATCH] sss --- kubernetes/helm/templates/_helpers.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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