Skip to content

Commit be8277a

Browse files
committed
Update controller-gen version
Plus include the option to overwrite this using `CONTROLLER_GEN_VERSION=v0.x.x make install-envtest`. Signed-off-by: Hidde Beydals <[email protected]>
1 parent 75c1e38 commit be8277a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ manifests-release:
8787

8888
# Find or download controller-gen
8989
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
90+
CONTROLLER_GEN_VERSION ?= v0.11.1
9091
.PHONY: controller-gen
9192
controller-gen: ## Download controller-gen locally if necessary.
92-
$(call go-install-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.8.0)
93+
$(call go-install-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_GEN_VERSION))
9394

9495
ENVTEST_ASSETS_DIR=$(shell pwd)/testbin
9596
ENVTEST_KUBERNETES_VERSION?=latest

0 commit comments

Comments
 (0)