mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
kube-up: Only upgrade if AUTO_UPGRADE set, but set it on AWS
Installing upgrades is kind of dangerous, so make it not the default. But also set AUTO_UPGRADE=true on AWS.
This commit is contained in:
@@ -996,6 +996,7 @@ function start-master() {
|
||||
|
||||
echo "cat > kube_env.yaml << __EOF_MASTER_KUBE_ENV_YAML"
|
||||
cat ${KUBE_TEMP}/master-kube-env.yaml
|
||||
echo "AUTO_UPGRADE: 'true'"
|
||||
# TODO: get rid of these exceptions / harmonize with common or GCE
|
||||
echo "DOCKER_STORAGE: $(yaml-quote ${DOCKER_STORAGE:-})"
|
||||
echo "API_SERVERS: $(yaml-quote ${MASTER_INTERNAL_IP:-})"
|
||||
@@ -1090,6 +1091,7 @@ function start-minions() {
|
||||
echo "cd /var/cache/kubernetes-install"
|
||||
echo "cat > kube_env.yaml << __EOF_KUBE_ENV_YAML"
|
||||
cat ${KUBE_TEMP}/node-kube-env.yaml
|
||||
echo "AUTO_UPGRADE: 'true'"
|
||||
# TODO: get rid of these exceptions / harmonize with common or GCE
|
||||
echo "DOCKER_STORAGE: $(yaml-quote ${DOCKER_STORAGE:-})"
|
||||
echo "API_SERVERS: $(yaml-quote ${MASTER_INTERNAL_IP:-})"
|
||||
|
||||
Reference in New Issue
Block a user