Skip to content

Commit e679a16

Browse files
committed
chore: migrate gopkg.in.yaml.v3 dependency to go.yaml.in/yaml/v3
Signed-off-by: Chiman Jain <chimanjain15@gmail.com>
1 parent 466f837 commit e679a16

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ require (
3535
go.etcd.io/bbolt v1.5.0
3636
go.podman.io/common v0.68.0
3737
go.podman.io/image/v5 v5.40.0
38+
go.yaml.in/yaml/v3 v3.0.4
3839
golang.org/x/exp v0.0.0-20260112195511-716be5621a96
3940
golang.org/x/mod v0.37.0
4041
golang.org/x/sync v0.21.0
@@ -43,7 +44,6 @@ require (
4344
google.golang.org/grpc v1.81.1
4445
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.6.2
4546
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af
46-
gopkg.in/yaml.v3 v3.0.1
4747
k8s.io/api v0.36.2
4848
k8s.io/apiextensions-apiserver v0.36.2
4949
k8s.io/apimachinery v0.36.2
@@ -201,7 +201,6 @@ require (
201201
go.opentelemetry.io/proto/otlp v1.10.0 // indirect
202202
go.podman.io/storage v1.63.0 // indirect
203203
go.yaml.in/yaml/v2 v2.4.3 // indirect
204-
go.yaml.in/yaml/v3 v3.0.4 // indirect
205204
golang.org/x/crypto v0.51.0 // indirect
206205
golang.org/x/net v0.55.0 // indirect
207206
golang.org/x/oauth2 v0.36.0 // indirect
@@ -215,6 +214,7 @@ require (
215214
gopkg.in/inf.v0 v0.9.1 // indirect
216215
gopkg.in/warnings.v0 v0.1.2 // indirect
217216
gopkg.in/yaml.v2 v2.4.0 // indirect
217+
gopkg.in/yaml.v3 v3.0.1 // indirect
218218
k8s.io/apiserver v0.36.2 // indirect
219219
k8s.io/cli-runtime v0.36.1 // indirect
220220
k8s.io/component-base v0.36.2 // indirect

pkg/lib/bundle/chartutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"path/filepath"
2424

2525
"github.com/pkg/errors"
26-
"gopkg.in/yaml.v3"
26+
"go.yaml.in/yaml/v3"
2727
)
2828

2929
// Maintainer describes a Chart maintainer.

pkg/lib/bundle/generate.go

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

1111
log "github.com/sirupsen/logrus"
12-
"gopkg.in/yaml.v3"
12+
"go.yaml.in/yaml/v3"
1313
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
1414
utilerrors "k8s.io/apimachinery/pkg/util/errors"
1515
k8syaml "k8s.io/apimachinery/pkg/util/yaml"

pkg/lib/bundle/generate_test.go

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

99
"github.com/stretchr/testify/require"
10-
"gopkg.in/yaml.v3"
10+
"go.yaml.in/yaml/v3"
1111
)
1212

1313
func TestGetMediaType(t *testing.T) {

pkg/lib/bundle/utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"os"
55
"path/filepath"
66

7-
"gopkg.in/yaml.v3"
7+
"go.yaml.in/yaml/v3"
88
)
99

1010
const (

pkg/lib/indexer/indexer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"sync"
1414

1515
"github.com/sirupsen/logrus"
16-
"gopkg.in/yaml.v3"
16+
"go.yaml.in/yaml/v3"
1717
utilerrors "k8s.io/apimachinery/pkg/util/errors"
1818

1919
"github.com/operator-framework/operator-registry/pkg/containertools"

pkg/sqlite/directory_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/otiai10/copy"
1010
"github.com/sirupsen/logrus"
1111
"github.com/stretchr/testify/require"
12-
"gopkg.in/yaml.v3"
12+
"go.yaml.in/yaml/v3"
1313

1414
"github.com/operator-framework/operator-registry/pkg/api"
1515
"github.com/operator-framework/operator-registry/pkg/registry"

0 commit comments

Comments
 (0)