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