fix: use dl.k8s.io, not kubernetes-release bucket (#10118)

Signed-off-by: Ricky Sadowski <richard.j.sadowski@gmail.com>
pull/10125/head
Ricky Sadowski 2023-05-22 20:50:21 -04:00 committed by GitHub
parent 659001c9d7
commit a4fa9aed75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,8 @@ function _get_checksum {
readonly github_releases_url="$github_url/%s/releases/download/$version/%s" readonly github_releases_url="$github_url/%s/releases/download/$version/%s"
readonly github_archive_url="$github_url/%s/archive/%s" readonly github_archive_url="$github_url/%s/archive/%s"
readonly google_url="https://storage.googleapis.com" readonly google_url="https://storage.googleapis.com"
readonly k8s_url="$google_url/kubernetes-release/release/$version/bin/$os/$arch/%s" readonly release_url="https://dl.k8s.io"
readonly k8s_url="$release_url/release/$version/bin/$os/$arch/%s"
# Download URLs # Download URLs
declare -A urls=( declare -A urls=(