Use stable.txt instead of latest.txt and add a script to set that file.

This commit is contained in:
Brendan Burns
2015-03-26 15:15:45 -07:00
parent 7386897d00
commit f089a054c2
2 changed files with 47 additions and 1 deletions

View File

@@ -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