We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b55213 commit 3bf01dfCopy full SHA for 3bf01df
Makefile
@@ -435,7 +435,11 @@ e2e-framework: ## Builds the CAPI e2e framework
435
436
ARTIFACTS ?= ${ROOT_DIR}/_artifacts
437
438
-KUBEBUILDER_ASSETS ?= $(shell $(SETUP_ENVTEST) use --use-env -p path $(KUBEBUILDER_ENVTEST_KUBERNETES_VERSION))
+ifeq ($(shell go env GOOS),darwin) # Use the darwin/amd64 binary until an arm64 version is available
439
+ KUBEBUILDER_ASSETS ?= $(shell $(SETUP_ENVTEST) use --use-env -p path --arch amd64 $(KUBEBUILDER_ENVTEST_KUBERNETES_VERSION))
440
+else
441
+ KUBEBUILDER_ASSETS ?= $(shell $(SETUP_ENVTEST) use --use-env -p path $(KUBEBUILDER_ENVTEST_KUBERNETES_VERSION))
442
+endif
443
444
.PHONY: test
445
test: $(SETUP_ENVTEST) ## Run unit and integration tests
0 commit comments