Merge pull request #16364 from rifelpet/upgrade-dnsnone

Fix bash conditional pattern matching in upgrade script
This commit is contained in:
Kubernetes Prow Robot 2024-02-18 06:35:27 -08:00 committed by GitHub
commit 907a9a7203
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ if [[ ${KOPS_IRSA-} = true ]]; then
fi
# TODO: remove once we stop testing upgrades from kops <1.29
if [[ "${CLUSTER_NAME}" == "*tests-kops-aws.k8s.io" && "${KOPS_VERSION_A}" =~ v1.2[678].* ]]; then
if [[ "${CLUSTER_NAME}" == *"tests-kops-aws.k8s.io" && "${KOPS_VERSION_A}" =~ v1.2[678].* ]]; then
create_args="${create_args} --dns=none"
fi