Use the regionless mirror alias

This commit is contained in:
Jake Sanders
2017-12-27 15:47:09 -08:00
committed by GitHub
parent a4eb2f96d0
commit c2c845f522

View File

@@ -243,11 +243,11 @@ function set-preferred-region() {
else else
KUBE_ADDON_REGISTRY="gcr.io/google_containers" KUBE_ADDON_REGISTRY="gcr.io/google_containers"
fi fi
}
if [[ "${ENABLE_DOCKER_REGISTRY_CACHE:-}" == "true" ]]; then if [[ "${ENABLE_DOCKER_REGISTRY_CACHE:-}" == "true" ]]; then
DOCKER_REGISTRY_MIRROR_URL="https://${preferred}-mirror.gcr.io" DOCKER_REGISTRY_MIRROR_URL="https://mirror.gcr.io"
fi fi
}
# Take the local tar files and upload them to Google Storage. They will then be # 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. # downloaded by the master as part of the start up script for the master.