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 if [[ -z "${CONFIG}" ]]; then
# Kubernetes 1.15+ # Kubernetes 1.15+
CONFIG=${DEFAULT_CLUSTER_YAML} CONFIG=${DEFAULT_CLUSTER_YAML}
# Configure the cluster IP Family only for default configs fi
if [ "${IP_FAMILY}" != "ipv4" ]; then
grep "ipFamily: ${IP_FAMILY}" "${CONFIG}" || \ # Configure the cluster IP Family if explicitly set
cat <<EOF >> "${CONFIG}" if [ "${IP_FAMILY}" != "ipv4" ]; then
grep "ipFamily: ${IP_FAMILY}" "${CONFIG}" || \
cat <<EOF >> "${CONFIG}"
networking: networking:
ipFamily: ${IP_FAMILY} ipFamily: ${IP_FAMILY}
EOF EOF
fi
fi fi
KIND_WAIT_FLAG="--wait=180s" KIND_WAIT_FLAG="--wait=180s"