Skip to content

Commit af08481

Browse files
committed
Pin to a non-breaking version of setup-envtest
kubernetes-sigs/controller-runtime#2720 The minimum required Go version for setup-envtes was bumped to 1.22, breaking us. Pin to release-0.16, which doesn't use 1.22 yet. It uses 1.21, which is still higher than what we use, but back then Go didn't enforce the version requirement yet. Signed-off-by: Adam Cmiel <[email protected]>
1 parent f69d598 commit af08481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
176176
.PHONY: envtest
177177
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
178178
$(ENVTEST): $(LOCALBIN)
179-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
179+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.16
180180

181181
.PHONY: bundle
182182
bundle: manifests kustomize ## Generate bundle manifests and metadata, then validate generated files.

0 commit comments

Comments
 (0)