This repository was archived by the owner on Apr 25, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ all: container hyperfed controller kubefedctl webhook e2e
7777# Unit tests
7878test :
7979 go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
80- source <( setup-envtest use -p env 1.21 .x) && \
80+ source <( setup-envtest use -p env 1.24 .x) && \
8181 go test $(TEST_PKGS )
8282
8383build : hyperfed controller kubefedctl webhook
Original file line number Diff line number Diff line change @@ -43,17 +43,17 @@ script if you'd like to change the default:
4343NUM_CLUSTERS=< num> ./scripts/create-clusters.sh
4444```
4545
46- The ` KIND_TAG ` is ` v1.21.1 @sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 ` by default.
46+ The ` KIND_TAG ` is ` v1.24.2 @sha256:1f0cee2282f43150b52dc7933183ed96abdcfc8d293f30ec07082495874876f1 ` by default.
4747Image ` kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 ` is used as
4848node docker image for booting the cluster.
4949
5050You can use ` KIND_IMAGE ` or ` KIND_TAG ` to specify the image as you want.
5151``` bash
52- KIND_TAG=v1.19.4 @sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b ./scripts/create-clusters.sh
52+ KIND_TAG=v1.21.1 @sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 ./scripts/create-clusters.sh
5353```
5454
5555``` bash
56- KIND_IMAGE=kindest/node:v1.19.4 @sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b ./scripts/create-clusters.sh
56+ KIND_IMAGE=kindest/node:v1.21.1 @sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 ./scripts/create-clusters.sh
5757```
5858
5959## Delete Clusters
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ set -o pipefail
2525source " ${BASH_SOURCE%/* } /util.sh"
2626NUM_CLUSTERS=" ${NUM_CLUSTERS:- 2} "
2727KIND_IMAGE=" ${KIND_IMAGE:- } "
28- KIND_TAG=" ${KIND_TAG:- v1.21.1 @ sha256: 69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 } "
28+ KIND_TAG=" ${KIND_TAG:- v1.24.2 @ sha256: 1f0cee2282f43150b52dc7933183ed96abdcfc8d293f30ec07082495874876f1 } "
2929OS=" $( uname) "
3030
3131function create-clusters() {
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ curl "${curl_args}" "${kb_url}" \
5050 | tar xzP -C " ${dest_dir} " --strip-components=2
5151
5252go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
53- source <( setup-envtest use -p env 1.21 .x)
53+ source <( setup-envtest use -p env 1.24 .x)
5454
5555echo " KUBEBUILDER_ASSETS is set to ${KUBEBUILDER_ASSETS} "
5656
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ mkdir -p "${dest_dir}"
3636
3737# kind
3838platform=" $( uname -s| tr A-Z a-z) "
39- kind_version=" v0.11.1 "
39+ kind_version=" v0.14.0 "
4040kind_path=" ${dest_dir} /kind"
4141kind_url=" https://github.com/kubernetes-sigs/kind/releases/download/${kind_version} /kind-${platform} -amd64"
4242curl -fLo " ${kind_path} " " ${kind_url} " && chmod +x " ${kind_path} "
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ function download-dependencies() {
5757}
5858
5959function run-unit-tests() {
60- KUBEBUILDER_ASSETS= ${ROOT_DIR} /bin ${MAKE_CMD} test
60+ ${MAKE_CMD} test
6161}
6262
6363function run-e2e-tests() {
@@ -188,7 +188,7 @@ run-unit-tests
188188echo " Downloading e2e test dependencies"
189189./scripts/download-e2e-binaries.sh
190190
191- KIND_TAG=" v1.21.1 @sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 " ./scripts/create-clusters.sh
191+ KIND_TAG=" v1.24.2 @sha256:1f0cee2282f43150b52dc7933183ed96abdcfc8d293f30ec07082495874876f1 " ./scripts/create-clusters.sh
192192
193193declare -a join_cluster_list=()
194194if [[ -z " ${JOIN_CLUSTERS} " ]]; then
You can’t perform that action at this time.
0 commit comments