Skip to content

Commit

Permalink
fix: update controller-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
agoda-devops-container committed Sep 23, 2024
1 parent 0101213 commit 1da3647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand Down

0 comments on commit 1da3647

Please sign in to comment.