From c2c845f5224c5e661ef483a92c7aeaf3aff826df Mon Sep 17 00:00:00 2001 From: Jake Sanders <1200829+dekkagaijin@users.noreply.github.com> Date: Wed, 27 Dec 2017 15:47:09 -0800 Subject: [PATCH] Use the regionless mirror alias --- cluster/gce/util.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index 34d710ce7fe..a0d7d8c66d8 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -243,12 +243,12 @@ function set-preferred-region() { else KUBE_ADDON_REGISTRY="gcr.io/google_containers" fi - - if [[ "${ENABLE_DOCKER_REGISTRY_CACHE:-}" == "true" ]]; then - DOCKER_REGISTRY_MIRROR_URL="https://${preferred}-mirror.gcr.io" - fi } +if [[ "${ENABLE_DOCKER_REGISTRY_CACHE:-}" == "true" ]]; then + DOCKER_REGISTRY_MIRROR_URL="https://mirror.gcr.io" +fi + # Take the local tar files and upload them to Google Storage. They will then be # downloaded by the master as part of the start up script for the master. #