From 4cbffa7619e3fbc1acea45c5b92990c427634ab3 Mon Sep 17 00:00:00 2001 From: weekface Date: Thu, 27 Feb 2020 19:23:25 +0800 Subject: [PATCH] fix tikv cluster tls bug (#1808) --- pkg/manager/member/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/manager/member/template.go b/pkg/manager/member/template.go index 493c1996d8..f0e5a4c90a 100644 --- a/pkg/manager/member/template.go +++ b/pkg/manager/member/template.go @@ -216,7 +216,7 @@ fi # Use HOSTNAME if POD_NAME is unset for backward compatibility. POD_NAME=${POD_NAME:-$HOSTNAME} -ARGS="--pd=http://${CLUSTER_NAME}-pd:2379 \ +ARGS="--pd={{ .Scheme }}://${CLUSTER_NAME}-pd:2379 \ --advertise-addr=${POD_NAME}.${HEADLESS_SERVICE_NAME}.${NAMESPACE}.svc:20160 \ --addr=0.0.0.0:20160 \ --status-addr=0.0.0.0:20180 \