diff --git a/components/notebook-controller/Makefile b/components/notebook-controller/Makefile index 019d1bd92eb..9d698c4bc67 100644 --- a/components/notebook-controller/Makefile +++ b/components/notebook-controller/Makefile @@ -148,7 +148,7 @@ controller-gen: ## Download controller-gen locally if necessary. KUSTOMIZE = $(shell pwd)/bin/kustomize .PHONY: kustomize kustomize: ## Download kustomize locally if necessary. - $(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/v3/cmd/kustomize@v5.0.2) + $(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/v5@v5.0.2) ENVTEST = $(shell pwd)/bin/setup-envtest ENVTEST_VERSION?=v0.0.0-20240923090159-236e448db12c diff --git a/components/odh-notebook-controller/Makefile b/components/odh-notebook-controller/Makefile index 2c97e351bb7..610189de3f8 100644 --- a/components/odh-notebook-controller/Makefile +++ b/components/odh-notebook-controller/Makefile @@ -241,7 +241,7 @@ controller-gen: ## Download controller-gen locally if necessary. KUSTOMIZE = $(LOCALBIN)/kustomize .PHONY: kustomize kustomize: ## Download kustomize locally if necessary. - GOBIN=$(LOCALBIN) go install sigs.k8s.io/kustomize/v3/cmd/kustomize@v5.0.2 + GOBIN=$(LOCALBIN) go install sigs.k8s.io/kustomize/kustomize/v5@v5.0.2 ENVTEST = $(LOCALBIN)/setup-envtest .PHONY: envtest