From 33925252882e42bb61a01fcd346eecc84d9657f9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 10:13:32 +0000 Subject: [PATCH] Update module gopkg.in/yaml.v2 to v3 --- go.mod | 5 +++-- pkg/bundle/service.go | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 0b15f6aa..ca702296 100644 --- a/go.mod +++ b/go.mod @@ -70,8 +70,7 @@ require ( gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect google.golang.org/protobuf v1.34.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v2 v2.4.0 - gopkg.in/yaml.v3 v3.0.1 // indirect + gopkg.in/yaml.v3 v3.0.1 k8s.io/apiextensions-apiserver v0.29.5 // indirect k8s.io/component-base v0.29.5 // indirect k8s.io/klog/v2 v2.120.1 // indirect @@ -81,6 +80,8 @@ require ( sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect ) +require gopkg.in/yaml.v2 v2.4.0 // indirect + replace ( github.com/hashicorp/go-cleanhttp => github.com/hashicorp/go-cleanhttp v0.5.2 github.com/hashicorp/go-retryablehttp => github.com/hashicorp/go-retryablehttp v0.7.7 diff --git a/pkg/bundle/service.go b/pkg/bundle/service.go index fae271a8..b4028578 100644 --- a/pkg/bundle/service.go +++ b/pkg/bundle/service.go @@ -8,7 +8,7 @@ import ( appv1 "github.com/giantswarm/apiextensions-application/api/v1alpha1" "github.com/pkg/errors" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" v1 "k8s.io/api/core/v1" apimachineryerrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"