kubernetes/hack/unwanted-dependencies.json
2022-10-28 15:15:20 -04:00

40 lines
1.8 KiB
JSON

{
"spec": {
"unwantedModules": {
"cloud.google.com/go/firestore": "db/datastore clients should not be required",
"github.com/go-bindata/go-bindata": "refer to #99829",
"github.com/go-kit/kit": "lots of transitive dependencies, see https://github.com/prometheus/common/issues/255",
"github.com/go-openapi/analysis": "use k8s.io/kube-openapi/pkg/validation/spec",
"github.com/go-openapi/spec": "use k8s.io/kube-openapi/pkg/validation/spec instead",
"github.com/go-openapi/strfmt": "use k8s.io/kube-openapi/pkg/validation/strfmt instead",
"github.com/go-openapi/validate": "use k8s.io/kube-openapi/pkg/validation/validate instead",
"github.com/hashicorp/consul": "MPL license not in CNCF allowlist",
"github.com/hashicorp/golang-lru": "MPL license not in CNCF allowlist",
"github.com/hashicorp/hcl": "MPL license not in CNCF allowlist",
"github.com/influxdata/influxdb1-client": "",
"github.com/json-iterator/go": "refer to #105030",
"github.com/miekg/dns": "no dns client/server should be required",
"github.com/onsi/ginkgo": "Ginkgo has been migrated to V2, refer to #109111",
"github.com/spf13/viper": "refer to #102598",
"go.mongodb.org/mongo-driver": "",
"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"
}
},
"status": {
"unwantedReferences": {
"github.com/go-kit/kit": [
"github.com/grpc-ecosystem/go-grpc-middleware"
],
"github.com/json-iterator/go": [
"github.com/prometheus/client_golang",
"go.etcd.io/etcd/client/v2",
"go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful",
"k8s.io/kube-openapi",
"sigs.k8s.io/structured-merge-diff/v4"
]
}
}
}