Skip to content

Commit fb2beab

Browse files
authored
Merge pull request #3359 from troy0820/troy0820/update-setup-envtest-doc
📖Remove latest from setupenvtest docs
2 parents e22eab0 + e132b97 commit fb2beab

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)