mirror of https://github.com/kubernetes/kops.git
Merge pull request #17265 from rifelpet/test-reconcile
Fix conditional for reconcile command in upgrade tests
This commit is contained in:
commit
12931dd99d
|
@ -121,7 +121,7 @@ else
|
|||
"${KOPS_B}" edit cluster "${CLUSTER_NAME}" "--set=cluster.spec.kubernetesVersion=${K8S_VERSION_B}"
|
||||
fi
|
||||
|
||||
if [[ "${KOPS_VERSION_B}" =~ 1.(20|21|22|23|24|25|26|27|28|29|30). ]]; then
|
||||
if [[ "${KOPS_VERSION_B}" =~ 1.(20|21|22|23|24|25|26|27|28|29|30) ]]; then
|
||||
# kOps introduced the reconcile command in 1.31
|
||||
# TODO: remove this block once we stop testing upgrades to kops <1.31
|
||||
"${KOPS_B}" update cluster
|
||||
|
|
Loading…
Reference in New Issue