We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8356e4 + f137d0b commit 2e902dbCopy full SHA for 2e902db
hack/kind-install-for-capd.sh
@@ -31,7 +31,8 @@ if [[ "${TRACE-0}" == "1" ]]; then
31
fi
32
33
KIND_CLUSTER_NAME=${CAPI_KIND_CLUSTER_NAME:-"capi-test"}
34
-
+# See: https://kind.sigs.k8s.io/docs/user/configuration/#ip-family
35
+KIND_NETWORK_IPFAMILY=${KIND_NETWORK_IPFAMILY:-"dual"}
36
37
# 1. If kind cluster already exists exit.
38
if [[ "$(kind get clusters)" =~ .*"${KIND_CLUSTER_NAME}".* ]]; then
@@ -59,7 +60,7 @@ cat <<EOF | kind create cluster --name="$KIND_CLUSTER_NAME" --config=-
59
60
kind: Cluster
61
apiVersion: kind.x-k8s.io/v1alpha4
62
networking:
- ipFamily: dual
63
+ ipFamily: ${KIND_NETWORK_IPFAMILY}
64
nodes:
65
- role: control-plane
66
extraMounts:
0 commit comments