Skip to content

Commit a197e96

Browse files
Update module gopkg.in/yaml.v2 to v3
1 parent 96cc807 commit a197e96

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ require (
2626
github.com/urfave/cli v1.22.16
2727
golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d
2828
golang.org/x/oauth2 v0.30.0
29-
gopkg.in/yaml.v2 v2.4.0
3029
gopkg.in/yaml.v3 v3.0.1
3130
helm.sh/helm/v3 v3.16.3
3231
sigs.k8s.io/release-utils v0.11.1
@@ -232,6 +231,7 @@ require (
232231
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
233232
gopkg.in/inf.v0 v0.9.1 // indirect
234233
gopkg.in/warnings.v0 v0.1.2 // indirect
234+
gopkg.in/yaml.v2 v2.4.0 // indirect
235235
gotest.tools/v3 v3.5.1 // indirect
236236
k8s.io/api v0.31.3 // indirect
237237
k8s.io/apiextensions-apiserver v0.31.3 // indirect

main.go

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

3333
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/filesystem/yaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010

1111
"github.com/rancher/charts-build-scripts/pkg/logger"
12-
yamlV2 "gopkg.in/yaml.v2"
12+
yamlV2 "gopkg.in/yaml.v3"
1313
yamlV3 "gopkg.in/yaml.v3"
1414
)
1515

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

0 commit comments

Comments
 (0)