Skip to content

Commit ea77be2

Browse files
committed
Use a stable release of setup-envtest
A recent change caused this tool to select the *oldest* Kubernetes binaries rather than the newest: https://www.github.com/kubernetes-sigs/controller-runtime/issues/3379 This entire tool can be dropped when we move to controller-runtime 0.22.x which has this feature: https://www.github.com/kubernetes-sigs/controller-runtime/pull/3280
1 parent 486529f commit ea77be2

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
@@ -15,7 +15,7 @@ CONTROLLER ?= $(GO) tool sigs.k8s.io/controller-tools/cmd/controller-gen
1515
CHAINSAW ?= $(GO) run github.com/kyverno/chainsaw@latest
1616
CHAINSAW_TEST ?= $(CHAINSAW) test
1717
CRD_CHECKER ?= $(GO) run github.com/openshift/crd-schema-checker/cmd/crd-schema-checker@latest
18-
ENVTEST ?= $(GO) run sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
18+
ENVTEST ?= $(GO) run sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.22
1919
KUTTL ?= $(GO) run github.com/kudobuilder/kuttl/cmd/kubectl-kuttl@latest
2020
KUTTL_TEST ?= $(KUTTL) test
2121

0 commit comments

Comments
 (0)