mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-02 09:47:06 +00:00
Merge pull request #32848 from vishh/fix-upgrade-script
support image type override for real in upgrade.sh script
This commit is contained in:
@@ -38,7 +38,7 @@ function usage() {
|
|||||||
echo " -M: Upgrade master only"
|
echo " -M: Upgrade master only"
|
||||||
echo " -N: Upgrade nodes only"
|
echo " -N: Upgrade nodes only"
|
||||||
echo " -P: Node upgrade prerequisites only (create a new instance template)"
|
echo " -P: Node upgrade prerequisites only (create a new instance template)"
|
||||||
echo " -o: Use os distro sepcified in KUBE_NODE_OS_DISTRIBUTION for new nodes"
|
echo " -o: Use os distro sepcified in KUBE_NODE_OS_DISTRIBUTION for new nodes. Options include 'debian' or 'gci'"
|
||||||
echo " -l: Use local(dev) binaries"
|
echo " -l: Use local(dev) binaries"
|
||||||
echo ""
|
echo ""
|
||||||
echo ' Version number or publication is either a proper version number'
|
echo ' Version number or publication is either a proper version number'
|
||||||
@@ -295,7 +295,7 @@ node_prereqs=false
|
|||||||
local_binaries=false
|
local_binaries=false
|
||||||
env_os_distro=false
|
env_os_distro=false
|
||||||
|
|
||||||
while getopts ":MNPlh" opt; do
|
while getopts ":MNPlho" opt; do
|
||||||
case ${opt} in
|
case ${opt} in
|
||||||
M)
|
M)
|
||||||
node_upgrade=false
|
node_upgrade=false
|
||||||
|
Reference in New Issue
Block a user