mirror of https://github.com/kubernetes/kops.git
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:
parent
24ab206acc
commit
b40a912a68
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue