diff --git a/go.mod b/go.mod index e066d9335..be96010ae 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/keptn/kubernetes-utils v0.13.0 github.com/sirupsen/logrus v1.8.1 github.com/stretchr/testify v1.7.1 - gopkg.in/yaml.v2 v2.4.0 + gopkg.in/yaml.v3 v3.0.1 k8s.io/api v0.24.1 k8s.io/apimachinery v0.24.1 k8s.io/client-go v0.24.1 @@ -89,7 +89,7 @@ require ( google.golang.org/appengine v1.6.7 // indirect google.golang.org/protobuf v1.27.1 // indirect gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect helm.sh/helm/v3 v3.6.1 // indirect honnef.co/go/tools v0.0.1-2020.1.4 // indirect k8s.io/apiextensions-apiserver v0.21.0 // indirect diff --git a/go.sum b/go.sum index 74ef372ee..212022547 100644 --- a/go.sum +++ b/go.sum @@ -1274,8 +1274,9 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= diff --git a/internal/config/dynatrace_config_getter.go b/internal/config/dynatrace_config_getter.go index 748f2e424..617337ae2 100644 --- a/internal/config/dynatrace_config_getter.go +++ b/internal/config/dynatrace_config_getter.go @@ -6,7 +6,7 @@ import ( "github.com/keptn-contrib/dynatrace-service/internal/dynatrace" "github.com/keptn-contrib/dynatrace-service/internal/keptn" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) type DynatraceConfigProvider interface { diff --git a/internal/keptn/config_client.go b/internal/keptn/config_client.go index 1eac61247..d1b82be7e 100644 --- a/internal/keptn/config_client.go +++ b/internal/keptn/config_client.go @@ -7,7 +7,7 @@ import ( keptn "github.com/keptn/go-utils/pkg/lib" keptnapi "github.com/keptn/go-utils/pkg/lib/keptn" keptnv2 "github.com/keptn/go-utils/pkg/lib/v0_2_0" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" "github.com/keptn-contrib/dynatrace-service/internal/common" "github.com/keptn-contrib/dynatrace-service/internal/dynatrace"