Fix conditional for reconcile command in upgrade tests

This commit is contained in:
Peter Rifel 2025-02-18 21:53:13 -06:00
parent 99ba10e2d5
commit 1de38d50e3
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ else
"${KOPS_B}" edit cluster "${CLUSTER_NAME}" "--set=cluster.spec.kubernetesVersion=${K8S_VERSION_B}" "${KOPS_B}" edit cluster "${CLUSTER_NAME}" "--set=cluster.spec.kubernetesVersion=${K8S_VERSION_B}"
fi 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 # kOps introduced the reconcile command in 1.31
# TODO: remove this block once we stop testing upgrades to kops <1.31 # TODO: remove this block once we stop testing upgrades to kops <1.31
"${KOPS_B}" update cluster "${KOPS_B}" update cluster