Skip to content

Commit 685db56

Browse files
authored
Merge pull request #2985 from troy0820/troy0820/update-setup-envtest
📖Update docs for setupenvtest
2 parents fe02d35 + 24ebfa7 commit 685db56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/setup-envtest/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ 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.22+ (it's a separate, self-contained
7+
To use it, just go-install it with Golang 1.23+ (it's a separate, self-contained
88
module):
99

1010
```shell
1111
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
1212
```
1313

14-
If you are using Golang 1.20 or 1.21, use the `release-0.17` branch instead:
14+
If you are using Golang 1.22, use the `release-0.18` branch instead:
1515

1616
```shell
17-
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.17
17+
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.18
1818
```
1919

2020
For full documentation, run it with the `--help` flag, but here are some
@@ -47,7 +47,7 @@ setup-envtest use -i --use-env
4747
# sideload a pre-downloaded tarball as Kubernetes 1.16.2 into our store
4848
setup-envtest sideload 1.16.2 < downloaded-envtest.tar.gz
4949

50-
# Per default envtest binaries are downloaded from:
50+
# Per default envtest binaries are downloaded from:
5151
# https://raw.githubusercontent.com/kubernetes-sigs/controller-tools/master/envtest-releases.yaml
5252
# To download from a custom index use the following:
5353
setup-envtest use --index https://custom.com/envtest-releases.yaml

0 commit comments

Comments
 (0)