File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- 0fb04a469bfc93ac7466cb401ee46c84d58cb23c
1
+ 79fdfc73f80957004f387ae8dae2cef2b6b6ab59
Original file line number Diff line number Diff line change @@ -172,14 +172,15 @@ function setup_kind_cluster() {
172
172
if [[ -z " ${CONFIG} " ]]; then
173
173
# Kubernetes 1.15+
174
174
CONFIG=${DEFAULT_CLUSTER_YAML}
175
- # Configure the cluster IP Family only for default configs
176
- if [ " ${IP_FAMILY} " != " ipv4" ]; then
177
- grep " ipFamily: ${IP_FAMILY} " " ${CONFIG} " || \
178
- cat << EOF >> "${CONFIG} "
175
+ fi
176
+
177
+ # Configure the cluster IP Family if explicitly set
178
+ if [ " ${IP_FAMILY} " != " ipv4" ]; then
179
+ grep " ipFamily: ${IP_FAMILY} " " ${CONFIG} " || \
180
+ cat << EOF >> "${CONFIG} "
179
181
networking:
180
182
ipFamily: ${IP_FAMILY}
181
183
EOF
182
- fi
183
184
fi
184
185
185
186
KIND_WAIT_FLAG=" --wait=180s"
You can’t perform that action at this time.
0 commit comments