Skip to content

Commit b9f3651

Browse files
Update module gopkg.in/yaml.v2 to v3
1 parent a08033b commit b9f3651

File tree

7 files changed

+6
-9
lines changed

7 files changed

+6
-9
lines changed

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ require (
1919
github.com/go-git/go-git/v5 v5.13.1
2020
github.com/google/go-cmp v0.6.0
2121
github.com/google/go-github/v41 v41.0.0
22-
github.com/hashicorp/go-version v1.7.0
2322
github.com/lmittmann/tint v1.0.7
2423
github.com/stretchr/testify v1.10.0
2524
github.com/urfave/cli v1.22.16
2625
golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d
2726
golang.org/x/oauth2 v0.25.0
28-
gopkg.in/yaml.v2 v2.4.0
2927
gopkg.in/yaml.v3 v3.0.1
3028
helm.sh/helm/v3 v3.16.3
3129
sigs.k8s.io/yaml v1.4.0
@@ -187,6 +185,7 @@ require (
187185
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
188186
gopkg.in/inf.v0 v0.9.1 // indirect
189187
gopkg.in/warnings.v0 v0.1.2 // indirect
188+
gopkg.in/yaml.v2 v2.4.0 // indirect
190189
gotest.tools/v3 v3.5.1 // indirect
191190
k8s.io/api v0.31.3 // indirect
192191
k8s.io/apiextensions-apiserver v0.31.3 // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,6 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY
213213
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
214214
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
215215
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
216-
github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
217-
github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
218216
github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc=
219217
github.com/hashicorp/golang-lru/arc/v2 v2.0.5 h1:l2zaLDubNhW4XO3LnliVj0GXO3+/CGNJAg1dcN2Fpfw=
220218
github.com/hashicorp/golang-lru/arc/v2 v2.0.5/go.mod h1:ny6zBSQZi2JxIeYcv7kt2sH2PXJtirBN7RDhRpxPkxU=

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
"github.com/rancher/charts-build-scripts/pkg/validate"
2929
"github.com/rancher/charts-build-scripts/pkg/zip"
3030
"github.com/urfave/cli"
31-
"gopkg.in/yaml.v2"
31+
"gopkg.in/yaml.v3"
3232
)
3333

3434
const (

pkg/charts/crdchart.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/rancher/charts-build-scripts/pkg/filesystem"
1515
"github.com/rancher/charts-build-scripts/pkg/logger"
1616
"github.com/rancher/charts-build-scripts/pkg/path"
17-
"gopkg.in/yaml.v2"
17+
"gopkg.in/yaml.v3"
1818
)
1919

2020
// ValidateInstallCRDContentsFmt is the format for the contents of ChartValidateInstallCRDFile

pkg/options/package.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/go-git/go-billy/v5"
99
"github.com/rancher/charts-build-scripts/pkg/filesystem"
10-
"gopkg.in/yaml.v2"
10+
"gopkg.in/yaml.v3"
1111
)
1212

1313
// PackageOptions represent the options presented to users to be able to configure the way a package is built using these scripts

pkg/options/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/go-git/go-billy/v5"
1414
"github.com/rancher/charts-build-scripts/pkg/filesystem"
1515
"github.com/rancher/charts-build-scripts/pkg/logger"
16-
"gopkg.in/yaml.v2"
16+
"gopkg.in/yaml.v3"
1717
)
1818

1919
// ValidateOptions specify an upstream GitHub repository you would like to validate against

pkg/regsync/generateconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"github.com/rancher/charts-build-scripts/pkg/logger"
1818
"github.com/rancher/charts-build-scripts/pkg/path"
1919
"golang.org/x/exp/slices"
20-
"gopkg.in/yaml.v2"
20+
"gopkg.in/yaml.v3"
2121
)
2222

2323
// SyncEntry represents a single entry in the regsync.yaml file

0 commit comments

Comments
 (0)