diff --git a/go.mod b/go.mod index b11d43a7..56b0d321 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,7 @@ require ( golang.org/x/oauth2 v0.17.0 golang.org/x/sync v0.6.0 golang.org/x/term v0.17.0 - gopkg.in/yaml.v2 v2.4.0 + gopkg.in/yaml.v3 v3.0.1 k8s.io/apimachinery v0.29.2 k8s.io/client-go v0.29.2 k8s.io/klog/v2 v2.120.1 @@ -56,7 +56,7 @@ require ( google.golang.org/appengine v1.6.8 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect diff --git a/integration_test/kubeconfig/kubeconfig.go b/integration_test/kubeconfig/kubeconfig.go index 7c675481..74b02bac 100644 --- a/integration_test/kubeconfig/kubeconfig.go +++ b/integration_test/kubeconfig/kubeconfig.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) // Values represents values in .kubeconfig template.