Skip to content

Commit e475eb0

Browse files
authored
Merge pull request #4012 from camilamacedo86/set-go-patch
🐛 Align Go Version in go.mod Template to 1.22.0
2 parents a3a622e + 13d0a00 commit e475eb0

File tree

8 files changed

+1
-15
lines changed
  • docs/book/src
    • cronjob-tutorial/testdata/project
    • getting-started/testdata/project
  • pkg/plugins/golang/v4/scaffolds/internal/templates
  • testdata
    • project-v4-multigroup-with-deploy-image
    • project-v4-multigroup
    • project-v4-with-deploy-image
    • project-v4-with-grafana
    • project-v4

8 files changed

+1
-15
lines changed

docs/book/src/cronjob-tutorial/testdata/project/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module tutorial.kubebuilder.io/project
22

33
go 1.22.0
44

5-
toolchain go1.22.3
6-
75
require (
86
github.com/onsi/ginkgo/v2 v2.17.1
97
github.com/onsi/gomega v1.32.0

docs/book/src/getting-started/testdata/project/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module example.com/memcached
22

33
go 1.22.0
44

5-
toolchain go1.22.3
6-
75
require (
86
github.com/onsi/ginkgo/v2 v2.17.1
97
github.com/onsi/gomega v1.32.0

pkg/plugins/golang/v4/scaffolds/internal/templates/gomod.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (f *GoMod) SetTemplateDefaults() error {
4545

4646
const goModTemplate = `module {{ .Repo }}
4747
48-
go 1.22
48+
go 1.22.0
4949
5050
require (
5151
sigs.k8s.io/controller-runtime {{ .ControllerRuntimeVersion }}

testdata/project-v4-multigroup-with-deploy-image/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module sigs.k8s.io/kubebuilder/testdata/project-v4-multigroup-with-deploy-image
22

33
go 1.22.0
44

5-
toolchain go1.22.3
6-
75
require (
86
github.com/onsi/ginkgo/v2 v2.17.1
97
github.com/onsi/gomega v1.32.0

testdata/project-v4-multigroup/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module sigs.k8s.io/kubebuilder/testdata/project-v4-multigroup
22

33
go 1.22.0
44

5-
toolchain go1.22.3
6-
75
require (
86
github.com/onsi/ginkgo/v2 v2.17.1
97
github.com/onsi/gomega v1.32.0

testdata/project-v4-with-deploy-image/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module sigs.k8s.io/kubebuilder/testdata/project-v4-with-deploy-image
22

33
go 1.22.0
44

5-
toolchain go1.22.3
6-
75
require (
86
github.com/onsi/ginkgo/v2 v2.17.1
97
github.com/onsi/gomega v1.32.0

testdata/project-v4-with-grafana/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module sigs.k8s.io/kubebuilder/testdata/project-v4-with-grafana
22

33
go 1.22.0
44

5-
toolchain go1.22.3
6-
75
require (
86
github.com/onsi/ginkgo/v2 v2.17.1
97
github.com/onsi/gomega v1.32.0

testdata/project-v4/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module sigs.k8s.io/kubebuilder/testdata/project-v4
22

33
go 1.22.0
44

5-
toolchain go1.22.3
6-
75
require (
86
github.com/onsi/ginkgo/v2 v2.17.1
97
github.com/onsi/gomega v1.32.0

0 commit comments

Comments
 (0)