Skip to content

Commit 8d67943

Browse files
committed
operator,storage-operator: Pin setup-envtest version
Latest version of setup-envtest can only works with Go 1.22, since we are not yet using it let's pin the setup-envtest version Unfortunatly there is no real tag for setup-envtest so we have to use long tag commit hash Sees: kubernetes-sigs/controller-runtime#2720
1 parent d178477 commit 8d67943

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
204204
.PHONY: envtest
205205
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
206206
$(ENVTEST): $(LOCALBIN)
207-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
207+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@395cfc7486e6
208208

209209
.PHONY: bundle
210210
bundle: manifests kustomize ## Generate bundle manifests and metadata, then validate generated files.

storage-operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
204204
.PHONY: envtest
205205
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
206206
$(ENVTEST): $(LOCALBIN)
207-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
207+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@395cfc7486e6
208208

209209
.PHONY: bundle
210210
bundle: manifests kustomize ## Generate bundle manifests and metadata, then validate generated files.

0 commit comments

Comments
 (0)