Skip to content

Commit dea1dc0

Browse files
Automator: update common-files@master in istio/proxy@master (#3105)
1 parent 9efad2b commit dea1dc0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

common/.commonfiles.sha

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a321892c6cec32b20328e881f3225029c3d101eb
1+
6ed0f9f27778fa28f005095f57f90df4a1a8909a

common/scripts/kind_provisioner.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ set -x
3131
################# COMMON SECTION ###############################
3232
####################################################################
3333

34+
# DEFAULT_KIND_IMAGE is used to set the Kubernetes version for KinD unless overridden in params to setup_kind_cluster(s)
35+
DEFAULT_KIND_IMAGE="gcr.io/istio-testing/kindest/node:v1.19.1"
36+
3437
# load_cluster_topology function reads cluster configuration topology file and
3538
# sets up environment variables used by other functions. So this should be called
3639
# before anything else.
@@ -116,7 +119,7 @@ function check_default_cluster_yaml() {
116119
# If Kind cluster was already created then it would be cleaned up in case of errors
117120
function setup_kind_cluster() {
118121
NAME="${1:-istio-testing}"
119-
IMAGE="${2:-gcr.io/istio-testing/kindest/node:v1.19.1}"
122+
IMAGE="${2:-"${DEFAULT_KIND_IMAGE}"}"
120123
CONFIG="${3:-}"
121124
NOMETALBINSTALL="${4:-}"
122125

@@ -185,7 +188,7 @@ function cleanup_kind_clusters() {
185188
# NOTE: Please call load_cluster_topology before calling this method as it expects
186189
# cluster topology information to be loaded in advance
187190
function setup_kind_clusters() {
188-
IMAGE="${1:-gcr.io/istio-testing/kindest/node:v1.19.1}"
191+
IMAGE="${1:-"${DEFAULT_KIND_IMAGE}"}"
189192
KUBECONFIG_DIR="$(mktemp -d)"
190193
IP_FAMILY="${2:-ipv4}"
191194

0 commit comments

Comments
 (0)