Drop usages sigs.k8s.io/yaml/goyaml.v3

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2025-07-10 19:23:02 -04:00
parent 9ac770cf10
commit 665b093491
6 changed files with 7 additions and 4 deletions

1
go.mod
View File

@@ -19,6 +19,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
go.yaml.in/yaml/v3 v3.0.4
sigs.k8s.io/yaml v1.4.0
)

2
go.sum
View File

@@ -31,6 +31,8 @@ github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

View File

@@ -19,8 +19,8 @@ package kubeconfig
import (
"bytes"
yaml "go.yaml.in/yaml/v3"
kubeyaml "sigs.k8s.io/yaml"
yaml "sigs.k8s.io/yaml/goyaml.v3"
"sigs.k8s.io/kind/pkg/errors"
)

View File

@@ -20,7 +20,7 @@ import (
"io"
"os"
yaml "sigs.k8s.io/yaml/goyaml.v3"
yaml "go.yaml.in/yaml/v3"
"sigs.k8s.io/kind/pkg/errors"
)

View File

@@ -20,7 +20,7 @@ import (
"bytes"
"os"
yaml "sigs.k8s.io/yaml/goyaml.v3"
yaml "go.yaml.in/yaml/v3"
"sigs.k8s.io/kind/pkg/apis/config/v1alpha4"
"sigs.k8s.io/kind/pkg/errors"

View File

@@ -24,7 +24,7 @@ import (
jsonpatch "github.com/evanphx/json-patch/v5"
toml "github.com/pelletier/go-toml"
yaml "sigs.k8s.io/yaml/goyaml.v3"
yaml "go.yaml.in/yaml/v3"
"sigs.k8s.io/kind/pkg/errors"
)