From 8f1aca86d365fa1a0c6ca7b054dff86bc0363998 Mon Sep 17 00:00:00 2001 From: Eric Horwath <70013998+erichorwath@users.noreply.github.com> Date: Tue, 25 Mar 2025 17:45:43 +0100 Subject: [PATCH 1/3] Golang 1.24+ in setup-envtest/README.md --- tools/setup-envtest/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/setup-envtest/README.md b/tools/setup-envtest/README.md index 9c62b0a194..084fbde3b4 100644 --- a/tools/setup-envtest/README.md +++ b/tools/setup-envtest/README.md @@ -4,17 +4,17 @@ This is a small tool that manages binaries for envtest. It can be used to download new binaries, list currently installed and available ones, and clean up versions. -To use it, just go-install it with Golang 1.23+ (it's a separate, self-contained +To use it, just go-install it with Golang 1.24+ (it's a separate, self-contained module): ```shell go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest ``` -If you are using Golang 1.22, use the `release-0.18` branch instead: +If you are using Golang 1.23, use the `release-0.19` branch instead: ```shell -go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.18 +go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.19 ``` For full documentation, run it with the `--help` flag, but here are some From 4a8fd51f7acb60f529d2db0c2e06c42d39d90640 Mon Sep 17 00:00:00 2001 From: Eric Horwath <70013998+erichorwath@users.noreply.github.com> Date: Tue, 25 Mar 2025 18:19:02 +0100 Subject: [PATCH 2/3] Small update on README.md --- tools/setup-envtest/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/setup-envtest/README.md b/tools/setup-envtest/README.md index 084fbde3b4..fff5aca0db 100644 --- a/tools/setup-envtest/README.md +++ b/tools/setup-envtest/README.md @@ -11,7 +11,7 @@ module): go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest ``` -If you are using Golang 1.23, use the `release-0.19` branch instead: +If you are using Golang 1.23, use the `release-0.20` branch instead: ```shell go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.19 From f0807feed04e4a23f97658049addcc811c54eded Mon Sep 17 00:00:00 2001 From: Eric Horwath <70013998+erichorwath@users.noreply.github.com> Date: Tue, 25 Mar 2025 18:19:29 +0100 Subject: [PATCH 3/3] Small update on README.md --- tools/setup-envtest/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/setup-envtest/README.md b/tools/setup-envtest/README.md index fff5aca0db..a4de6f3eae 100644 --- a/tools/setup-envtest/README.md +++ b/tools/setup-envtest/README.md @@ -14,7 +14,7 @@ go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest If you are using Golang 1.23, use the `release-0.20` branch instead: ```shell -go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.19 +go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.20 ``` For full documentation, run it with the `--help` flag, but here are some