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.
2 parents 21be8e8 + 3bf01df commit 72cd893Copy full SHA for 72cd893
Makefile
@@ -484,7 +484,11 @@ serve-book: ## Build and serve the book (with live-reload)
484
485
ARTIFACTS ?= ${ROOT_DIR}/_artifacts
486
487
-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
488
+ KUBEBUILDER_ASSETS ?= $(shell $(SETUP_ENVTEST) use --use-env -p path --arch amd64 $(KUBEBUILDER_ENVTEST_KUBERNETES_VERSION))
489
+else
490
+ KUBEBUILDER_ASSETS ?= $(shell $(SETUP_ENVTEST) use --use-env -p path $(KUBEBUILDER_ENVTEST_KUBERNETES_VERSION))
491
+endif
492
493
.PHONY: test
494
test: $(SETUP_ENVTEST) ## Run unit and integration tests
0 commit comments