Merge pull request #17265 from rifelpet/test-reconcile

Fix conditional for reconcile command in upgrade tests
This commit is contained in:
Kubernetes Prow Robot 2025-02-19 03:58:26 -08:00 committed by GitHub
commit 12931dd99d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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}"
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