Skip to content

Commit 3be11f8

Browse files
committed
Migrate gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 v3.0.4
Signed-off-by: Sameer <sameer.khan@broadcom.com>
1 parent 9ff04d3 commit 3be11f8

61 files changed

Lines changed: 31687 additions & 8 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cli/go.mod

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ require (
1717
github.com/spf13/cobra v1.10.2
1818
github.com/spf13/pflag v1.0.10
1919
github.com/stretchr/testify v1.11.1
20-
gopkg.in/yaml.v2 v2.4.0
21-
gopkg.in/yaml.v3 v3.0.1
20+
go.yaml.in/yaml/v2 v2.4.4
21+
go.yaml.in/yaml/v3 v3.0.4
2222
k8s.io/api v0.30.1
2323
k8s.io/apiextensions-apiserver v0.30.1
2424
k8s.io/apimachinery v0.30.1
@@ -84,6 +84,8 @@ require (
8484
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
8585
google.golang.org/protobuf v1.36.4 // indirect
8686
gopkg.in/inf.v0 v0.9.1 // indirect
87+
gopkg.in/yaml.v2 v2.4.0 // indirect
88+
gopkg.in/yaml.v3 v3.0.1 // indirect
8789
k8s.io/klog/v2 v2.120.1 // indirect
8890
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
8991
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect

cli/go.sum

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
195195
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
196196
go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo=
197197
go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so=
198+
go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ=
199+
go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ=
200+
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
198201
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
199202
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
200203
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=

cli/pkg/kctrl/cmd/package/available/default_values.go

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

12-
"gopkg.in/yaml.v3"
12+
"go.yaml.in/yaml/v3"
1313
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions"
1414
structuralschema "k8s.io/apiextensions-apiserver/pkg/apiserver/schema"
1515
"k8s.io/apimachinery/pkg/runtime"

cli/pkg/kctrl/cmd/package/release/schemagenerator/helm_openapi_schema_gen.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"strings"
1313

1414
kcdatav1alpha1 "carvel.dev/kapp-controller/pkg/apiserver/apis/datapackaging/v1alpha1"
15-
yaml2 "gopkg.in/yaml.v2"
16-
yaml3 "gopkg.in/yaml.v3"
15+
yaml2 "go.yaml.in/yaml/v2"
16+
yaml3 "go.yaml.in/yaml/v3"
1717
"k8s.io/apimachinery/pkg/runtime"
1818
"sigs.k8s.io/yaml"
1919
)

cli/vendor/go.yaml.in/yaml/v2/.travis.yml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/vendor/go.yaml.in/yaml/v2/LICENSE

Lines changed: 201 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/vendor/go.yaml.in/yaml/v2/LICENSE.libyaml

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/vendor/go.yaml.in/yaml/v2/NOTICE

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)