Skip to content

Commit

Permalink
Support linux for kind clusters s/x86_64/amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
srust committed Jan 11, 2024
1 parent 7a4b2e5 commit 4bb6047
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,11 @@ $(TILT): $(LOCALBIN)
kind: $(KIND) ## Download kind locally if necessary. If wrong version is installed, it will be overwritten.
$(KIND): $(LOCALBIN)
test -s $(KIND) && $(KIND) version | grep -q $(KIND_VERSION) || \
(cd $(LOCALBIN); curl -Lso ./kind https://kind.sigs.k8s.io/dl/v$(KIND_VERSION)/kind-$(OS)-$(ARCH) && chmod +x kind)
(KIND_ARCH=$(ARCH); \
if [ $$KIND_ARCH = "x86_64" ]; then \
KIND_ARCH=amd64; \
fi; \
cd $(LOCALBIN); curl -f -Lso ./kind https://kind.sigs.k8s.io/dl/v$(KIND_VERSION)/kind-$(OS)-$$KIND_ARCH && chmod +x kind)

.PHONY: envtest
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
Expand Down

0 comments on commit 4bb6047

Please sign in to comment.