Skip to content

Commit 96ef041

Browse files
committed
kuttl requires uname -m
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
1 parent fd09e9f commit 96ef041

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ GINKGO_VERSION := v2.7.0
77

88
OS := $(shell go env GOOS)
99
ARCH := $(shell go env GOARCH)
10+
SYS_ARCH := $(shell uname -m)
1011

1112
# VERSION defines the project version for the bundle.
1213
# Update this value when you upgrade the version of your project.
@@ -321,7 +322,7 @@ endef
321322

322323
.PHONY: kuttl
323324
KUTTL := $(LOCALBIN)/kuttl
324-
KUTTL_URL := https://github.com/kudobuilder/kuttl/releases/download/v$(KUTTL_VERSION)/kubectl-kuttl_$(KUTTL_VERSION)_$(OS)_$(ARCH)
325+
KUTTL_URL := https://github.com/kudobuilder/kuttl/releases/download/v$(KUTTL_VERSION)/kubectl-kuttl_$(KUTTL_VERSION)_$(OS)_$(SYS_ARCH)
325326
kuttl: $(KUTTL) ## Download kuttl
326327
$(KUTTL): $(LOCALBIN)
327328
$(call download-tool,$(KUTTL),$(KUTTL_URL))

0 commit comments

Comments
 (0)