Skip to content

Commit 15a4e3d

Browse files
Automator: update common-files@master in istio/api@master (#3156)
1 parent 21eb088 commit 15a4e3d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

common/.commonfiles.sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0fb04a469bfc93ac7466cb401ee46c84d58cb23c
1+
79fdfc73f80957004f387ae8dae2cef2b6b6ab59

common/scripts/kind_provisioner.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,15 @@ function setup_kind_cluster() {
172172
if [[ -z "${CONFIG}" ]]; then
173173
# Kubernetes 1.15+
174174
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}"
179181
networking:
180182
ipFamily: ${IP_FAMILY}
181183
EOF
182-
fi
183184
fi
184185

185186
KIND_WAIT_FLAG="--wait=180s"

0 commit comments

Comments
 (0)