mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
support image type override for real in upgrade.sh script
Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
parent
5975535daa
commit
ff5081cce5
@ -38,7 +38,7 @@ function usage() {
|
||||
echo " -M: Upgrade master only"
|
||||
echo " -N: Upgrade nodes only"
|
||||
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 ""
|
||||
echo ' Version number or publication is either a proper version number'
|
||||
@ -295,7 +295,7 @@ node_prereqs=false
|
||||
local_binaries=false
|
||||
env_os_distro=false
|
||||
|
||||
while getopts ":MNPlh" opt; do
|
||||
while getopts ":MNPlho" opt; do
|
||||
case ${opt} in
|
||||
M)
|
||||
node_upgrade=false
|
||||
|
Loading…
Reference in New Issue
Block a user