diff --git a/hack/ci/e2e.sh b/hack/ci/e2e.sh index a791472cc2..3dc15d80fe 100755 --- a/hack/ci/e2e.sh +++ b/hack/ci/e2e.sh @@ -110,6 +110,7 @@ nodes: - role: worker - role: worker EOF + # mark the cluster as up for cleanup # even if kind create fails, kind delete can clean up after it KIND_IS_UP=true @@ -132,6 +133,34 @@ run_tests() { KUBECONFIG="$(kind get kubeconfig-path)" export KUBECONFIG + if [[ "${IP_FAMILY:-ipv4}" == "ipv6" ]]; then + # Create the CoreDNS config for offline and IPv6 clusters + # https://github.com/coredns/coredns/issues/2494#issuecomment-457215452 + cat <