diff --git a/docs/book/src/cronjob-tutorial/testdata/project/go.mod b/docs/book/src/cronjob-tutorial/testdata/project/go.mod index 28820a0871c..fc9b1e41d2a 100644 --- a/docs/book/src/cronjob-tutorial/testdata/project/go.mod +++ b/docs/book/src/cronjob-tutorial/testdata/project/go.mod @@ -2,8 +2,6 @@ module tutorial.kubebuilder.io/project go 1.22.0 -toolchain go1.22.3 - require ( github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.32.0 diff --git a/docs/book/src/getting-started/testdata/project/go.mod b/docs/book/src/getting-started/testdata/project/go.mod index 1c3baff1cd9..708de794530 100644 --- a/docs/book/src/getting-started/testdata/project/go.mod +++ b/docs/book/src/getting-started/testdata/project/go.mod @@ -2,8 +2,6 @@ module example.com/memcached go 1.22.0 -toolchain go1.22.3 - require ( github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.32.0 diff --git a/pkg/plugins/golang/v4/scaffolds/internal/templates/gomod.go b/pkg/plugins/golang/v4/scaffolds/internal/templates/gomod.go index 28d40f4f5fc..fa86c604c7c 100644 --- a/pkg/plugins/golang/v4/scaffolds/internal/templates/gomod.go +++ b/pkg/plugins/golang/v4/scaffolds/internal/templates/gomod.go @@ -45,7 +45,7 @@ func (f *GoMod) SetTemplateDefaults() error { const goModTemplate = `module {{ .Repo }} -go 1.22 +go 1.22.0 require ( sigs.k8s.io/controller-runtime {{ .ControllerRuntimeVersion }} diff --git a/testdata/project-v4-multigroup-with-deploy-image/go.mod b/testdata/project-v4-multigroup-with-deploy-image/go.mod index 298af54172e..6f11b99acd9 100644 --- a/testdata/project-v4-multigroup-with-deploy-image/go.mod +++ b/testdata/project-v4-multigroup-with-deploy-image/go.mod @@ -2,8 +2,6 @@ module sigs.k8s.io/kubebuilder/testdata/project-v4-multigroup-with-deploy-image go 1.22.0 -toolchain go1.22.3 - require ( github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.32.0 diff --git a/testdata/project-v4-multigroup/go.mod b/testdata/project-v4-multigroup/go.mod index 720463df8ec..d8cfc6db03a 100644 --- a/testdata/project-v4-multigroup/go.mod +++ b/testdata/project-v4-multigroup/go.mod @@ -2,8 +2,6 @@ module sigs.k8s.io/kubebuilder/testdata/project-v4-multigroup go 1.22.0 -toolchain go1.22.3 - require ( github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.32.0 diff --git a/testdata/project-v4-with-deploy-image/go.mod b/testdata/project-v4-with-deploy-image/go.mod index 7df5b2ebf37..1b031a0142f 100644 --- a/testdata/project-v4-with-deploy-image/go.mod +++ b/testdata/project-v4-with-deploy-image/go.mod @@ -2,8 +2,6 @@ module sigs.k8s.io/kubebuilder/testdata/project-v4-with-deploy-image go 1.22.0 -toolchain go1.22.3 - require ( github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.32.0 diff --git a/testdata/project-v4-with-grafana/go.mod b/testdata/project-v4-with-grafana/go.mod index 3b77a9ef619..e83aed1ac24 100644 --- a/testdata/project-v4-with-grafana/go.mod +++ b/testdata/project-v4-with-grafana/go.mod @@ -2,8 +2,6 @@ module sigs.k8s.io/kubebuilder/testdata/project-v4-with-grafana go 1.22.0 -toolchain go1.22.3 - require ( github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.32.0 diff --git a/testdata/project-v4/go.mod b/testdata/project-v4/go.mod index ab479be096e..3a03a95e9b6 100644 --- a/testdata/project-v4/go.mod +++ b/testdata/project-v4/go.mod @@ -2,8 +2,6 @@ module sigs.k8s.io/kubebuilder/testdata/project-v4 go 1.22.0 -toolchain go1.22.3 - require ( github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.32.0