Set --dns=none on upgrade tests from older kops versions

This should fix some "missing zone" errors on these upgrade tests
This commit is contained in:
Peter Rifel 2024-02-17 19:21:10 -06:00
parent 24ab206acc
commit b40a912a68
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -83,6 +83,11 @@ if [[ ${KOPS_IRSA-} = true ]]; then
create_args="${create_args} --discovery-store=${DISCOVERY_STORE}/${CLUSTER_NAME}/discovery"
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
create_args="${create_args} --dns=none"
fi
# TODO: Switch scripts to use KOPS_CONTROL_PLANE_COUNT
if [[ -n "${KOPS_CONTROL_PLANE_SIZE:-}" ]]; then
echo "Recognized (deprecated) KOPS_CONTROL_PLANE_SIZE=${KOPS_CONTROL_PLANE_SIZE}, please set KOPS_CONTROL_PLANE_COUNT instead"