diff --git a/Makefile b/Makefile index 82ded392..56805568 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ ifeq (, $(shell which controller-gen)) CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\ cd $$CONTROLLER_GEN_TMP_DIR ;\ go mod init tmp ;\ - go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0 ;\ + go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0 ;\ rm -rf $$CONTROLLER_GEN_TMP_DIR ;\ } CONTROLLER_GEN=$(GOBIN)/controller-gen @@ -100,7 +100,7 @@ KUSTOMIZE=$(shell which kustomize) endif client-gen: - go install k8s.io/code-generator/cmd/client-gen@v0.21.2 + go install k8s.io/code-generator/cmd/client-gen@v0.29.2 apiserver-runtime-gen \ --module github.com/oam-dev/cluster-gateway \ -g client-gen \