Skip to content

Commit 18e45bf

Browse files
authored
Merge pull request #7080 from sbueringer/pr-use-kubebuilder-darwin-arm
🌱 kubebuilder: switch back to darwin arm64 binaries
2 parents 6c1ddaf + 39f0742 commit 18e45bf

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export GO111MODULE=on
3939
#
4040
# Kubebuilder.
4141
#
42-
export KUBEBUILDER_ENVTEST_KUBERNETES_VERSION ?= 1.24.1
42+
export KUBEBUILDER_ENVTEST_KUBERNETES_VERSION ?= 1.24.2
4343
export KUBEBUILDER_CONTROLPLANE_START_TIMEOUT ?= 60s
4444
export KUBEBUILDER_CONTROLPLANE_STOP_TIMEOUT ?= 60s
4545

@@ -625,11 +625,7 @@ docker-capd-build: ## Build the docker image for capd
625625

626626
ARTIFACTS ?= ${ROOT_DIR}/_artifacts
627627

628-
ifeq ($(shell go env GOOS),darwin) # Use the darwin/amd64 binary until an arm64 version is available
629-
KUBEBUILDER_ASSETS ?= $(shell $(SETUP_ENVTEST) use --use-env -p path --arch amd64 $(KUBEBUILDER_ENVTEST_KUBERNETES_VERSION))
630-
else
631-
KUBEBUILDER_ASSETS ?= $(shell $(SETUP_ENVTEST) use --use-env -p path $(KUBEBUILDER_ENVTEST_KUBERNETES_VERSION))
632-
endif
628+
KUBEBUILDER_ASSETS ?= $(shell $(SETUP_ENVTEST) use --use-env -p path $(KUBEBUILDER_ENVTEST_KUBERNETES_VERSION))
633629

634630
.PHONY: test
635631
test: $(SETUP_ENVTEST) ## Run unit and integration tests

0 commit comments

Comments
 (0)