Skip to content

Commit 48add7e

Browse files
authored
fix: specify k8s version which contain darwin arm64 (#719)
Signed-off-by: drivebyer <yang.wu@daocloud.io>
1 parent 7692708 commit 48add7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ENVTEST_ASSETS_DIR=$(shell pwd)/testbin
3030
test: generate fmt vet manifests
3131
mkdir -p ${ENVTEST_ASSETS_DIR}
3232
test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.7.0/hack/setup-envtest.sh
33-
source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -coverprofile cover.out
33+
source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; ENVTEST_K8S_VERSION=1.24.1 fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -coverprofile cover.out
3434

3535
# Build manager binary
3636
manager: generate fmt vet

0 commit comments

Comments
 (0)