Skip to content

Commit 49a9193

Browse files
dowgrande kind/fetch test
1 parent f99d8b4 commit 49a9193

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export IMAGE_VERSION = v1.39.2
99
export SIMPLE_VERSION = $(shell (test "$(shell git describe --tags)" = "$(shell git describe --tags --abbrev=0)" && echo $(shell git describe --tags)) || echo $(shell git describe --tags --abbrev=0)+git)
1010
export GIT_VERSION = $(shell git describe --dirty --tags --always)
1111
export GIT_COMMIT = $(shell git rev-parse HEAD)
12-
export K8S_VERSION = 1.32.2
12+
export K8S_VERSION = 1.31.0
1313

1414
# Build settings
1515
export TOOLS_DIR = tools/bin
@@ -183,12 +183,12 @@ cluster-create::
183183

184184
.PHONY: dev-install
185185
dev-install::
186-
$(SCRIPTS_DIR)/fetch kind 0.26.0
186+
$(SCRIPTS_DIR)/fetch kind 0.24.0
187187
$(SCRIPTS_DIR)/fetch kubectl $(K8S_VERSION) # Install kubectl AFTER envtest because envtest includes its own kubectl binary
188188

189189
.PHONY: test-e2e-teardown
190190
test-e2e-teardown:
191-
$(SCRIPTS_DIR)/fetch kind 0.26.0
191+
$(SCRIPTS_DIR)/fetch kind 0.24.0
192192
$(TOOLS_DIR)/kind delete cluster --name $(KIND_CLUSTER)
193193
rm -f $(KUBECONFIG)
194194

tools/scripts/fetch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fetch() {
2828
;;
2929
"kubectl")
3030
ver_cmd="${DEST}/kubectl version 2>/dev/null | grep Client | cut -d' ' -f5 | sed 's/\w\+:\"v\(.*\)\",/\1/'"
31-
fetch_cmd="(curl -sSfLo '${DEST}/kubectl' 'https://dl.k8s.io/release/v${ver}/bin/${os}/${arch}/kubectl' && chmod +x ${DEST}/kubectl)"
31+
fetch_cmd="(curl -sSfLo '${DEST}/kubectl' 'https://storage.googleapis.com/kubernetes-release/release/v${ver}/bin/${os}/${arch}/kubectl' && chmod +x ${DEST}/kubectl)"
3232
;;
3333
"goreleaser")
3434
ver_cmd="${DEST}/goreleaser --version 2>/dev/null | grep version | cut -d' ' -f3"

0 commit comments

Comments
 (0)