Skip to content

Commit e132b97

Browse files
committed
update setup-envtest docs
Signed-off-by: Troy Connor <[email protected]>
1 parent b8f1137 commit e132b97

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tools/setup-envtest/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ This is a small tool that manages binaries for envtest. It can be used to
44
download new binaries, list currently installed and available ones, and
55
clean up versions.
66

7-
To use it, just go-install it with Golang 1.24+ (it's a separate, self-contained
8-
module):
7+
To use it, download the binary from the [release page.](https://github.com/kubernetes-sigs/controller-runtime/releases)
8+
9+
If you want to install this with Golang, you can install a release by using a release branch instead.
10+
11+
NOTE: Each release branch may prefer a different version of Golang when installing.
912

1013
```shell
11-
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
14+
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.22
1215
```
1316

1417
If you are using Golang 1.23, use the `release-0.20` branch instead:

0 commit comments

Comments
 (0)