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

This commit is contained in:
Istio Automation 2020-11-19 11:14:49 -08:00 committed by GitHub
parent cf0add291f
commit ddfb3bb2e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -1 +1 @@
a321892c6cec32b20328e881f3225029c3d101eb
6ed0f9f27778fa28f005095f57f90df4a1a8909a

View File

@ -31,6 +31,9 @@ set -x
################# COMMON SECTION ###############################
####################################################################
# DEFAULT_KIND_IMAGE is used to set the Kubernetes version for KinD unless overridden in params to setup_kind_cluster(s)
DEFAULT_KIND_IMAGE="gcr.io/istio-testing/kindest/node:v1.19.1"
# load_cluster_topology function reads cluster configuration topology file and
# sets up environment variables used by other functions. So this should be called
# before anything else.
@ -116,7 +119,7 @@ function check_default_cluster_yaml() {
# If Kind cluster was already created then it would be cleaned up in case of errors
function setup_kind_cluster() {
NAME="${1:-istio-testing}"
IMAGE="${2:-gcr.io/istio-testing/kindest/node:v1.19.1}"
IMAGE="${2:-"${DEFAULT_KIND_IMAGE}"}"
CONFIG="${3:-}"
NOMETALBINSTALL="${4:-}"
@ -185,7 +188,7 @@ function cleanup_kind_clusters() {
# NOTE: Please call load_cluster_topology before calling this method as it expects
# cluster topology information to be loaded in advance
function setup_kind_clusters() {
IMAGE="${1:-gcr.io/istio-testing/kindest/node:v1.19.1}"
IMAGE="${1:-"${DEFAULT_KIND_IMAGE}"}"
KUBECONFIG_DIR="$(mktemp -d)"
IP_FAMILY="${2:-ipv4}"