From 89cdbdfdd7d35adc0298ff822d54703f7afc7321 Mon Sep 17 00:00:00 2001 From: Katarzyna Kujawa Date: Wed, 16 Feb 2022 16:59:28 +0100 Subject: [PATCH] fix: replace deprecated `go get` with `go install` --- operator/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operator/Makefile b/operator/Makefile index 36ff4643..5c1093f0 100755 --- a/operator/Makefile +++ b/operator/Makefile @@ -181,7 +181,7 @@ ifeq (, $(shell which controller-gen)) CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\ cd $$CONTROLLER_GEN_TMP_DIR ;\ go mod init tmp ;\ - go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1 ;\ + go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1 ;\ rm -rf $$CONTROLLER_GEN_TMP_DIR ;\ } CONTROLLER_GEN=$(GOBIN)/controller-gen @@ -196,7 +196,7 @@ ifeq (, $(shell which kustomize)) KUSTOMIZE_GEN_TMP_DIR=$$(mktemp -d) ;\ cd $$KUSTOMIZE_GEN_TMP_DIR ;\ go mod init tmp ;\ - go get sigs.k8s.io/kustomize/kustomize/v3@v3.8.3 ;\ + go install sigs.k8s.io/kustomize/kustomize/v3@v3.8.3 ;\ rm -rf $$KUSTOMIZE_GEN_TMP_DIR ;\ } KUSTOMIZE=$(GOBIN)/kustomize