Skip to content

Commit d7441df

Browse files
Update Makefile for power kustomize change
1 parent 6bf7113 commit d7441df

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,13 @@ CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
164164
ENVTEST ?= $(LOCALBIN)/setup-envtest
165165

166166
## Tool Versions
167+
arch:= $(shell uname -m)
168+
169+
ifeq ($(arch), ppc64le)
170+
KUSTOMIZE_VERSION ?= v5.1.0
171+
else
167172
KUSTOMIZE_VERSION ?= v3.8.7
173+
endif
168174
CONTROLLER_TOOLS_VERSION ?= v0.10.0
169175

170176
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"

0 commit comments

Comments
 (0)