From 37720e88993add507001cb5cfd99d5b641f94ded Mon Sep 17 00:00:00 2001 From: Dawn Chen Date: Tue, 6 Oct 2015 15:44:29 -0700 Subject: [PATCH] unset Kubelet flag for manifest_url for master node. --- cluster/gce/configure-vm.sh | 2 ++ cluster/gce/debian/helper.sh | 2 ++ cluster/saltbase/salt/kubelet/default | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cluster/gce/configure-vm.sh b/cluster/gce/configure-vm.sh index 7c0be14c82c..d89389d2224 100755 --- a/cluster/gce/configure-vm.sh +++ b/cluster/gce/configure-vm.sh @@ -281,6 +281,8 @@ network_provider: '$(echo "$NETWORK_PROVIDER")' opencontrail_tag: '$(echo "$OPENCONTRAIL_TAG")' opencontrail_kubernetes_tag: '$(echo "$OPENCONTRAIL_KUBERNETES_TAG")' opencontrail_public_subnet: '$(echo "$OPENCONTRAIL_PUBLIC_SUBNET")' +enable_manifest_url: '$(echo "$ENABLE_MANIFEST_URL" | sed -e "s/'/''/g")' +manifest_url: '$(echo "$MANIFEST_URL" | sed -e "s/'/''/g")' EOF if [ -n "${APISERVER_TEST_ARGS:-}" ]; then diff --git a/cluster/gce/debian/helper.sh b/cluster/gce/debian/helper.sh index 3b778b468fe..b91ba90d677 100755 --- a/cluster/gce/debian/helper.sh +++ b/cluster/gce/debian/helper.sh @@ -83,6 +83,8 @@ MASTER_KEY: $(yaml-quote ${MASTER_KEY_BASE64:-}) KUBECFG_CERT: $(yaml-quote ${KUBECFG_CERT_BASE64:-}) KUBECFG_KEY: $(yaml-quote ${KUBECFG_KEY_BASE64:-}) KUBELET_APISERVER: $(yaml-quote ${KUBELET_APISERVER:-}) +ENABLE_MANIFEST_URL: $(yaml-quote ${ENABLE_MANIFEST_URL:-false}) +MANIFEST_URL: $(yaml-quote ${MANIFEST_URL:-}) EOF if [ -n "${APISERVER_TEST_ARGS:-}" ]; then cat >>$file <