Commit afb54a20 authored by Brendan Burns's avatar Brendan Burns

Merge pull request #14689 from mikedanese/fix-1

sanitize + in KUBE_VERSION during gce upgrade
parents 0601b7b4 5b58a6cb
......@@ -173,7 +173,7 @@ function upgrade-nodes() {
# KUBELET_KEY_BASE64
function prepare-node-upgrade() {
echo "== Preparing node upgrade (to ${KUBE_VERSION}). ==" >&2
SANITIZED_VERSION=$(echo ${KUBE_VERSION} | sed s/"\."/-/g)
SANITIZED_VERSION=$(echo ${KUBE_VERSION} | sed 's/[\.\+]/-/g')
detect-minion-names
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment