From 899de11b263d070b356f1a7d1f10c10325334257 Mon Sep 17 00:00:00 2001 From: nwaiyatharee Date: Mon, 23 Sep 2024 19:56:16 +0700 Subject: [PATCH] fix: update controller-tools Signed-off-by: nwaiyatharee --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 \