Skip to content

Commit 563c09b

Browse files
committed
remove dependency on github.com/ghodss/yaml
Library is not supported anymore and the same utility is provided in k8s which the project already depends on Signed-off-by: Charly Molter <[email protected]>
1 parent 770ee4a commit 563c09b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ require (
1212
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
1313
github.com/aws/aws-lambda-go v1.13.3
1414
github.com/aws/aws-sdk-go v1.44.122
15-
github.com/ghodss/yaml v1.0.0
1615
github.com/go-errors/errors v1.0.2-0.20180813162953-d98b870cc4e0 // indirect
1716
github.com/go-sql-driver/mysql v1.4.1
1817
github.com/google/go-containerregistry v0.6.0
@@ -52,6 +51,7 @@ require (
5251
github.com/homeport/dyff v1.6.0
5352
github.com/slack-go/slack v0.10.3
5453
gotest.tools/v3 v3.0.3
54+
sigs.k8s.io/yaml v1.3.0
5555
)
5656

5757
require (
@@ -146,5 +146,4 @@ require (
146146
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
147147
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
148148
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
149-
sigs.k8s.io/yaml v1.3.0 // indirect
150149
)

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,6 @@ github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbS
489489
github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA=
490490
github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY=
491491
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
492-
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
493492
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
494493
github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q=
495494
github.com/go-errors/errors v1.0.2-0.20180813162953-d98b870cc4e0 h1:skJKxRtNmevLqnayafdLe2AsenqRupVmzZSqrvb5caU=

modules/helm/template.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import (
55
"path/filepath"
66
"strings"
77

8-
"github.com/ghodss/yaml"
8+
"sigs.k8s.io/yaml"
9+
910
"github.com/gruntwork-io/go-commons/errors"
1011
"github.com/stretchr/testify/require"
1112

0 commit comments

Comments
 (0)