Skip to content

Commit 714842e

Browse files
committed
Update controller API build tooling
- Update both to their latest versions - Ensure version variable is actually taken into account again... Signed-off-by: Hidde Beydals <[email protected]>
1 parent ecd2544 commit 714842e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ FUZZ_TIME ?= 1m
3838
GO_STATIC_FLAGS=-ldflags "-s -w" -tags 'netgo,osusergo,static_build$(addprefix ,,$(GO_TAGS))'
3939

4040
# API (doc) generation utilities
41-
CONTROLLER_GEN_VERSION ?= v0.7.0
42-
GEN_API_REF_DOCS_VERSION ?= v0.3.0
41+
CONTROLLER_GEN_VERSION ?= v0.11.1
42+
GEN_API_REF_DOCS_VERSION ?= e327d0730470cbd61b06300f81c5fcf91c23c113
4343

4444
# If gobin not set, create one on ./build and add to path.
4545
ifeq (,$(shell go env GOBIN))
@@ -147,13 +147,13 @@ docker-push: ## Push Docker image
147147
CONTROLLER_GEN = $(GOBIN)/controller-gen
148148
.PHONY: controller-gen
149149
controller-gen: ## Download controller-gen locally if necessary.
150-
$(call go-install-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.8.0)
150+
$(call go-install-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_GEN_VERSION))
151151

152152
# Find or download gen-crd-api-reference-docs
153153
GEN_CRD_API_REFERENCE_DOCS = $(GOBIN)/gen-crd-api-reference-docs
154154
.PHONY: gen-crd-api-reference-docs
155155
gen-crd-api-reference-docs: ## Download gen-crd-api-reference-docs locally if necessary
156-
$(call go-install-tool,$(GEN_CRD_API_REFERENCE_DOCS),github.com/ahmetb/gen-crd-api-reference-docs@3f29e6853552dcf08a8e846b1225f275ed0f3e3b)
156+
$(call go-install-tool,$(GEN_CRD_API_REFERENCE_DOCS),github.com/ahmetb/gen-crd-api-reference-docs@$(GEN_API_REF_DOCS_VERSION))
157157

158158
ENVTEST = $(GOBIN)/setup-envtest
159159
.PHONY: envtest

0 commit comments

Comments
 (0)