Automator: update common-files@master in istio/istio.io@master (#14857)

This commit is contained in:
Istio Automation 2024-04-08 11:35:55 -07:00 committed by GitHub
parent 53d4290f8c
commit 15831101b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 6 deletions

View File

@ -1 +1 @@
0fb04a469bfc93ac7466cb401ee46c84d58cb23c
79fdfc73f80957004f387ae8dae2cef2b6b6ab59

View File

@ -172,14 +172,15 @@ function setup_kind_cluster() {
if [[ -z "${CONFIG}" ]]; then
# Kubernetes 1.15+
CONFIG=${DEFAULT_CLUSTER_YAML}
# Configure the cluster IP Family only for default configs
if [ "${IP_FAMILY}" != "ipv4" ]; then
grep "ipFamily: ${IP_FAMILY}" "${CONFIG}" || \
cat <<EOF >> "${CONFIG}"
fi
# Configure the cluster IP Family if explicitly set
if [ "${IP_FAMILY}" != "ipv4" ]; then
grep "ipFamily: ${IP_FAMILY}" "${CONFIG}" || \
cat <<EOF >> "${CONFIG}"
networking:
ipFamily: ${IP_FAMILY}
EOF
fi
fi
KIND_WAIT_FLAG="--wait=180s"