File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -214,12 +214,11 @@ KUSTOMIZE_VERSION ?= v5.4.1
214
214
CONTROLLER_TOOLS_VERSION ?= v0.15.0
215
215
CRDOC_VERSION ?= v0.6.2
216
216
217
- KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
218
217
.PHONY : kustomize
219
218
kustomize : $(KUSTOMIZE ) # # Download kustomize locally if necessary.
220
219
$(KUSTOMIZE ) : $(LOCALBIN )
221
220
[ -e " $( KUSTOMIZE) " ] && rm -rf " $( KUSTOMIZE) " || true
222
- curl -s $( KUSTOMIZE_INSTALL_SCRIPT ) | bash -s -- $( subst v,, $(KUSTOMIZE_VERSION ) ) $( LOCALBIN )
221
+ test -s ${LOCALBIN} /kustomize || GOBIN= ${LOCALBIN} GO111MODULE=on go install sigs.k8s.io/kustomize/kustomize/v5@ $(KUSTOMIZE_VERSION )
223
222
224
223
.PHONY : controller-gen
225
224
controller-gen : $(CONTROLLER_GEN ) # # Download controller-gen locally if necessary.
You can’t perform that action at this time.
0 commit comments