From 60ec9913f683131e53ef02d555a4d815ea2d310e Mon Sep 17 00:00:00 2001 From: DeveloperJim <190177081@qq.com> Date: Wed, 19 Aug 2020 15:32:10 +0800 Subject: [PATCH] fix: kube watch json template, issue #479 --- .../bcs-k8s-master/bcs-k8s-watch/bcs-k8s-watch.json.template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/conf/bcs-k8s-master/bcs-k8s-watch/bcs-k8s-watch.json.template b/install/conf/bcs-k8s-master/bcs-k8s-watch/bcs-k8s-watch.json.template index dffb6d52d2..ef001ff767 100644 --- a/install/conf/bcs-k8s-master/bcs-k8s-watch/bcs-k8s-watch.json.template +++ b/install/conf/bcs-k8s-master/bcs-k8s-watch/bcs-k8s-watch.json.template @@ -12,8 +12,9 @@ "key-file": "${clientKeyFile}" }, "is-external": ${kubeWatchExternal}, - "custom-storage-endpoints": "${customStorage}", - "custom-netservice-endpoints": "${customNetService}" + "netservice-zookeepers": ["$customNetServiceZK"], + "custom-storage-endpoints": ["${customStorage}"], + "custom-netservice-endpoints": ["${customNetService}"] }, "k8s": { "master": "${kubeMaster}",