mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
Use stable.txt instead of latest.txt and add a script to set that file.
This commit is contained in:
@@ -61,7 +61,7 @@ if [[ "${KUBERNETES_SKIP_DOWNLOAD-}" ]]; then
|
||||
fi
|
||||
|
||||
function get_latest_version_number {
|
||||
local -r latest_url="https://storage.googleapis.com/kubernetes-release/release/latest.txt"
|
||||
local -r latest_url="https://storage.googleapis.com/kubernetes-release/release/stable.txt"
|
||||
if [[ $(which wget) ]]; then
|
||||
wget -qO- ${latest_url}
|
||||
elif [[ $(which curl) ]]; then
|
||||
|
Reference in New Issue
Block a user