Skip to content

Commit dd23765

Browse files
authored
Update yaml from v2 to v3 (redhat-best-practices-for-k8s#2418)
1 parent c645fdf commit dd23765

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/spf13/cobra v1.8.1
1010
github.com/stretchr/testify v1.9.0
1111
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
12-
gopkg.in/yaml.v2 v2.4.0
12+
gopkg.in/yaml.v3 v3.0.1
1313
)
1414

1515
require k8s.io/client-go v0.31.1
@@ -188,6 +188,7 @@ require (
188188
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
189189
gopkg.in/inf.v0 v0.9.1 // indirect
190190
gopkg.in/ini.v1 v1.67.0 // indirect
191+
gopkg.in/yaml.v2 v2.4.0 // indirect
191192
k8s.io/apiserver v0.31.1 // indirect
192193
k8s.io/cli-runtime v0.31.0 // indirect
193194
k8s.io/component-base v0.31.1 // indirect
@@ -227,7 +228,6 @@ require (
227228
golang.org/x/oauth2 v0.23.0
228229
golang.org/x/term v0.24.0
229230
google.golang.org/api v0.197.0
230-
gopkg.in/yaml.v3 v3.0.1
231231
k8s.io/kubectl v0.31.0
232232
)
233233

webserver/webserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"github.com/redhat-best-practices-for-k8s/certsuite/tests/identifiers"
2828
"github.com/robert-nix/ansihtml"
2929

30-
yaml "gopkg.in/yaml.v2"
30+
yaml "gopkg.in/yaml.v3"
3131
)
3232

3333
type webServerContextKey string

0 commit comments

Comments
 (0)