Skip to content

Commit 2909f21

Browse files
authored
🌱 chore: Move to maintained yaml library (#5182)
chore: Move to maintained yaml library Signed-off-by: Manuel Rüger <manuel@rueg.eu>
1 parent caa85e6 commit 2909f21

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ require (
1010
github.com/spf13/afero v1.15.0
1111
github.com/spf13/cobra v1.10.1
1212
github.com/spf13/pflag v1.0.10
13+
go.yaml.in/yaml/v3 v3.0.4
1314
golang.org/x/mod v0.29.0
1415
golang.org/x/text v0.30.0
1516
golang.org/x/tools v0.38.0
16-
gopkg.in/yaml.v3 v3.0.1
1717
helm.sh/helm/v3 v3.19.0
1818
k8s.io/apimachinery v0.34.1
1919
sigs.k8s.io/yaml v1.6.0
@@ -36,7 +36,6 @@ require (
3636
github.com/rogpeppe/go-internal v1.14.1 // indirect
3737
github.com/x448/float16 v0.8.4 // indirect
3838
go.yaml.in/yaml/v2 v2.4.2 // indirect
39-
go.yaml.in/yaml/v3 v3.0.4 // indirect
4039
golang.org/x/net v0.46.0 // indirect
4140
golang.org/x/sync v0.17.0 // indirect
4241
golang.org/x/sys v0.37.0 // indirect

pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/chart_writer.go

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

2525
"github.com/spf13/afero"
26-
"gopkg.in/yaml.v3"
26+
"go.yaml.in/yaml/v3"
2727
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
2828

2929
"sigs.k8s.io/kubebuilder/v4/pkg/machinery"

pkg/plugins/optional/helm/v2alpha/scaffolds/internal/kustomize/parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"os"
2323
"strings"
2424

25-
"gopkg.in/yaml.v3"
25+
"go.yaml.in/yaml/v3"
2626
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
2727
)
2828

pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/values_basic.go

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

25-
"gopkg.in/yaml.v3"
25+
"go.yaml.in/yaml/v3"
2626

2727
"sigs.k8s.io/kubebuilder/v4/pkg/machinery"
2828
)

0 commit comments

Comments
 (0)