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
214214CONTROLLER_TOOLS_VERSION ?= v0.15.0
215215CRDOC_VERSION ?= v0.6.2
216216
217- KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
218217.PHONY : kustomize
219218kustomize : $(KUSTOMIZE ) # # Download kustomize locally if necessary.
220219$(KUSTOMIZE ) : $(LOCALBIN )
221220 [ -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 )
223222
224223.PHONY : controller-gen
225224controller-gen : $(CONTROLLER_GEN ) # # Download controller-gen locally if necessary.
You can’t perform that action at this time.
0 commit comments