Merge pull request #16360 from rifelpet/upgrade-dnsnone

Set --dns=none on upgrade tests from older kops versions
This commit is contained in:
Kubernetes Prow Robot 2024-02-17 21:55:33 -08:00 committed by GitHub
commit 43f6798b1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"