File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
- a321892c6cec32b20328e881f3225029c3d101eb
1
+ 6ed0f9f27778fa28f005095f57f90df4a1a8909a
Original file line number Diff line number Diff line change 31
31
# ################ COMMON SECTION ###############################
32
32
# ###################################################################
33
33
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
+
34
37
# load_cluster_topology function reads cluster configuration topology file and
35
38
# sets up environment variables used by other functions. So this should be called
36
39
# before anything else.
@@ -116,7 +119,7 @@ function check_default_cluster_yaml() {
116
119
# If Kind cluster was already created then it would be cleaned up in case of errors
117
120
function setup_kind_cluster() {
118
121
NAME=" ${1:- istio-testing} "
119
- IMAGE=" ${2:- gcr.io / istio-testing / kindest / node : v1.19.1 } "
122
+ IMAGE=" ${2:- " ${DEFAULT_KIND_IMAGE} " } "
120
123
CONFIG=" ${3:- } "
121
124
NOMETALBINSTALL=" ${4:- } "
122
125
@@ -185,7 +188,7 @@ function cleanup_kind_clusters() {
185
188
# NOTE: Please call load_cluster_topology before calling this method as it expects
186
189
# cluster topology information to be loaded in advance
187
190
function setup_kind_clusters() {
188
- IMAGE=" ${1:- gcr.io / istio-testing / kindest / node : v1.19.1 } "
191
+ IMAGE=" ${1:- " ${DEFAULT_KIND_IMAGE} " } "
189
192
KUBECONFIG_DIR=" $( mktemp -d) "
190
193
IP_FAMILY=" ${2:- ipv4} "
191
194
You can’t perform that action at this time.
0 commit comments