Browse Source

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 1 year ago
committed by GitHub
parent
commit
a4fa9aed75
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. 3
      scripts/download_hash.sh

3
scripts/download_hash.sh

@ -169,7 +169,8 @@ function _get_checksum {
readonly github_releases_url="$github_url/%s/releases/download/$version/%s"
readonly github_archive_url="$github_url/%s/archive/%s"
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
declare -A urls=(

Loading…
Cancel
Save