From c4e84e263c59f2976a7f1af8e949c7676b4b3877 Mon Sep 17 00:00:00 2001 From: Koonwah Chen Date: Thu, 29 Jun 2017 10:04:53 -0700 Subject: [PATCH] Change KUBE_GCE_API_ENDPOINT to GCE_API_ENDPOINT --- cluster/common.sh | 2 +- cluster/gce/config-default.sh | 2 +- cluster/gce/gci/configure-helper.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cluster/common.sh b/cluster/common.sh index 951826cbe6..0c793ddec6 100755 --- a/cluster/common.sh +++ b/cluster/common.sh @@ -665,7 +665,7 @@ ENABLE_APISERVER_BASIC_AUDIT: $(yaml-quote ${ENABLE_APISERVER_BASIC_AUDIT:-}) ENABLE_APISERVER_ADVANCED_AUDIT: $(yaml-quote ${ENABLE_APISERVER_ADVANCED_AUDIT:-}) ENABLE_CACHE_MUTATION_DETECTOR: $(yaml-quote ${ENABLE_CACHE_MUTATION_DETECTOR:-false}) ADVANCED_AUDIT_BACKEND: $(yaml-quote ${ADVANCED_AUDIT_BACKEND:-log}) -KUBE_GCE_API_ENDPOINT: $(yaml-quote ${KUBE_GCE_API_ENDPOINT:-}) +GCE_API_ENDPOINT: $(yaml-quote ${GCE_API_ENDPOINT:-}) EOF if [ -n "${KUBELET_PORT:-}" ]; then cat >>$file </etc/gce.conf [global] EOF - if [[ -n "${KUBE_GCE_API_ENDPOINT:-}" ]]; then + if [[ -n "${GCE_API_ENDPOINT:-}" ]]; then cat <>/etc/gce.conf -api-endpoint = ${KUBE_GCE_API_ENDPOINT} +api-endpoint = ${GCE_API_ENDPOINT} EOF fi if [[ -n "${PROJECT_ID:-}" && -n "${TOKEN_URL:-}" && -n "${TOKEN_BODY:-}" && -n "${NODE_NETWORK:-}" ]]; then