mirror of https://github.com/k3s-io/k3s
Merge pull request #73822 from justinsb/renamed_set_node_image
e2e upgrade test: rename functions to match f0f7829934
pull/564/head
commit
6f6f8bdfcc
|
@ -213,7 +213,7 @@ function setup-base-image() {
|
||||||
|
|
||||||
source "${KUBE_ROOT}/cluster/gce/${NODE_OS_DISTRIBUTION}/node-helper.sh"
|
source "${KUBE_ROOT}/cluster/gce/${NODE_OS_DISTRIBUTION}/node-helper.sh"
|
||||||
# Reset the node image based on current os distro
|
# Reset the node image based on current os distro
|
||||||
set-node-image
|
set-linux-node-image
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -263,12 +263,12 @@ function prepare-node-upgrade() {
|
||||||
|
|
||||||
# TODO(zmerlynn): How do we ensure kube-env is written in a ${version}-
|
# TODO(zmerlynn): How do we ensure kube-env is written in a ${version}-
|
||||||
# compatible way?
|
# compatible way?
|
||||||
write-node-env
|
write-linux-node-env
|
||||||
|
|
||||||
# TODO(zmerlynn): Get configure-vm script from ${version}. (Must plumb this
|
# TODO(zmerlynn): Get configure-vm script from ${version}. (Must plumb this
|
||||||
# through all create-node-instance-template implementations).
|
# through all create-linux-node-instance-template implementations).
|
||||||
local template_name=$(get-template-name-from-version ${SANITIZED_VERSION})
|
local template_name=$(get-template-name-from-version ${SANITIZED_VERSION})
|
||||||
create-node-instance-template "${template_name}"
|
create-linux-node-instance-template "${template_name}"
|
||||||
# The following is echo'd so that callers can get the template name.
|
# The following is echo'd so that callers can get the template name.
|
||||||
echo "Instance template name: ${template_name}"
|
echo "Instance template name: ${template_name}"
|
||||||
echo "== Finished preparing node upgrade (to ${KUBE_VERSION}). ==" >&2
|
echo "== Finished preparing node upgrade (to ${KUBE_VERSION}). ==" >&2
|
||||||
|
|
Loading…
Reference in New Issue