Add gopkg.in/yaml.v2 to hack/unwanted-dependencies.json

This commit is contained in:
Joe Betz
2024-11-05 10:33:34 -05:00
parent f2157ff73e
commit bedfcc9331

View File

@@ -71,6 +71,7 @@
"google.golang.org/appengine": "cloud dependency",
"google.golang.org/genproto": "refer to #113366",
"gopkg.in/fsnotify.v1": "obsolete, use github.com/fsnotify/fsnotify",
"gopkg.in/yaml.v2": "prefer sigs.k8s.io/yaml",
"k8s.io/klog": "we have switched to klog v2, so avoid klog v1",
"rsc.io/quote": "refer to #102833",
"rsc.io/sampler": "refer to #102833",
@@ -234,6 +235,14 @@
"go.etcd.io/etcd/api/v3",
"go.etcd.io/etcd/client/v3",
"go.etcd.io/etcd/server/v3"
],
"gopkg.in/yaml.v2": [
"github.com/grpc-ecosystem/grpc-gateway",
"github.com/prometheus/client_golang",
"github.com/prometheus/common",
"go.etcd.io/etcd/api/v3",
"go.etcd.io/etcd/client/v3",
"go.etcd.io/etcd/server/v3"
]
},
"unwantedVendored": [