mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 21:12:07 +00:00
Merge pull request #57670 from dekkagaijin/patch-1
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Use the regionless mirror alias ```release-note NONE ``` mirror.gcr.io is a read-only alias for the regional mirror, explicit routing is unnecessary and potentially deleterious.
This commit is contained in:
commit
b0cad3db31
@ -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.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user