mirror of https://github.com/istio/istio.io.git
Automator: update common-files@master in istio/istio.io@master (#14857)
This commit is contained in:
parent
53d4290f8c
commit
15831101b2
|
@ -1 +1 @@
|
|||
0fb04a469bfc93ac7466cb401ee46c84d58cb23c
|
||||
79fdfc73f80957004f387ae8dae2cef2b6b6ab59
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue