mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 02:09:56 +00:00
Avoid pulling node-problem-detector through CDN
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
This commit is contained in:
parent
cc2f7b3198
commit
294c7df328
@ -297,7 +297,7 @@ function install-node-problem-detector {
|
||||
fi
|
||||
|
||||
echo "Downloading ${npd_tar}."
|
||||
local -r npd_release_path="${NODE_PROBLEM_DETECTOR_RELEASE_PATH:-https://dl.k8s.io}"
|
||||
local -r npd_release_path="${NODE_PROBLEM_DETECTOR_RELEASE_PATH:-https://storage.googleapis.com/kubernetes-release}"
|
||||
download-or-bust "${npd_hash}" "${npd_release_path}/node-problem-detector/${npd_tar}"
|
||||
local -r npd_dir="${KUBE_HOME}/node-problem-detector"
|
||||
mkdir -p "${npd_dir}"
|
||||
|
Loading…
Reference in New Issue
Block a user