...

Text file src/k8s.io/kubernetes/hack/unwanted-dependencies.json

Documentation: k8s.io/kubernetes/hack

     1{
     2  "spec": {
     3    "unwantedModules": {
     4      "cloud.google.com/go": "cloud dependency",
     5      "cloud.google.com/go/bigquery": "cloud dependency",
     6      "cloud.google.com/go/compute": "cloud dependency",
     7      "cloud.google.com/go/firestore": "db/datastore clients should not be required",
     8      "cloud.google.com/go/storage": "cloud dependency",
     9      "github.com/GoogleCloudPlatform/k8s-cloud-provider": "cloud dependency",
    10      "github.com/PuerkitoBio/urlesc": "unmaintained, archive mode",
    11      "github.com/armon/consul-api": "MPL license not in CNCF allowlist",
    12      "github.com/bketelsen/crypt": "unused, crypto",
    13      "github.com/form3tech-oss/jwt-go": "unmaintained, archive mode",
    14      "github.com/getsentry/raven-go": "unmaintained, archive mode",
    15      "github.com/go-bindata/go-bindata": "refer to #99829",
    16      "github.com/go-kit/kit": "lots of transitive dependencies, see https://github.com/prometheus/common/issues/255",
    17      "github.com/go-openapi/analysis": "use k8s.io/kube-openapi/pkg/validation/spec",
    18      "github.com/go-openapi/spec": "use k8s.io/kube-openapi/pkg/validation/spec instead",
    19      "github.com/go-openapi/strfmt": "use k8s.io/kube-openapi/pkg/validation/strfmt instead",
    20      "github.com/go-openapi/validate": "use k8s.io/kube-openapi/pkg/validation/validate instead",
    21      "github.com/gogo/googleapis": "depends on unmaintained github.com/gogo/protobuf",
    22      "github.com/gogo/protobuf": "unmaintained",
    23      "github.com/google/s2a-go": "cloud dependency, unstable",
    24      "github.com/google/shlex": "unmaintained, archive mode",
    25      "github.com/googleapis/enterprise-certificate-proxy": "references cloud dependencies",
    26      "github.com/googleapis/gax-go/v2": "references cloud dependencies",
    27      "github.com/gorilla/handlers": "unmaintained, archive mode",
    28      "github.com/gorilla/mux": "unmaintained, archive mode",
    29      "github.com/gorilla/rpc": "unmaintained, archive mode",
    30      "github.com/gorilla/schema": "unmaintained, archive mode",
    31      "github.com/gregjones/httpcache": "unmaintained, archive mode",
    32      "github.com/grpc-ecosystem/go-grpc-prometheus": "unmaintained, archive mode",
    33      "github.com/grpc-ecosystem/grpc-gateway": "use github.com/grpc-ecosystem/grpc-gateway/v2",
    34      "github.com/hashicorp/consul": "MPL license not in CNCF allowlist",
    35      "github.com/hashicorp/errwrap": "MPL license not in CNCF allowlist",
    36      "github.com/hashicorp/go-immutable-radix": "MPL license not in CNCF allowlist",
    37      "github.com/hashicorp/go-multierror": "MPL license not in CNCF allowlist",
    38      "github.com/hashicorp/go-retryablehttp": "MPL license not in CNCF allowlist",
    39      "github.com/hashicorp/go-rootcerts": "MPL license not in CNCF allowlist",
    40      "github.com/hashicorp/go-sockaddr": "MPL license not in CNCF allowlist",
    41      "github.com/hashicorp/go-uuid": "MPL license not in CNCF allowlist",
    42      "github.com/hashicorp/golang-lru": "MPL license not in CNCF allowlist",
    43      "github.com/hashicorp/hcl": "MPL license not in CNCF allowlist",
    44      "github.com/hashicorp/logutils": "MPL license not in CNCF allowlist",
    45      "github.com/hashicorp/memberlist": "MPL license not in CNCF allowlist",
    46      "github.com/hashicorp/serf": "MPL license not in CNCF allowlist",
    47      "github.com/influxdata/influxdb1-client": "db/datastore clients should not be required",
    48      "github.com/json-iterator/go": "refer to #105030",
    49      "github.com/mailru/easyjson": "unmaintained",
    50      "github.com/miekg/dns": "no dns client/server should be required",
    51      "github.com/mindprince/gonvml": "depends on nvml.h that does not appear to permit modification, redistribution",
    52      "github.com/mitchellh/cli": "MPL license not in CNCF allowlist",
    53      "github.com/mitchellh/gox": "MPL license not in CNCF allowlist",
    54      "github.com/mndrix/tap-go": "unmaintained",
    55      "github.com/onsi/ginkgo": "Ginkgo has been migrated to V2, refer to #109111",
    56      "github.com/pkg/errors": "unmaintained, archive mode",
    57      "github.com/smartystreets/goconvey": "MPL license not in CNCF allowlist",
    58      "github.com/spf13/viper": "refer to #102598",
    59      "github.com/xeipuuv/gojsonschema": "unmaintained",
    60      "go.mongodb.org/mongo-driver": "",
    61      "go.opencensus.io": "unmaintained, https://github.com/census-instrumentation/opencensus-go archive mode",
    62      "golang.org/x/exp": "This subrepository holds experimental and deprecated packages",
    63      "golang.org/x/lint": "unmaintained, archive mode",
    64      "google.golang.org/api": "cloud dependency",
    65      "google.golang.org/appengine": "cloud dependency",
    66      "google.golang.org/genproto": "refer to #113366",
    67      "gopkg.in/fsnotify.v1": "obsolete, use github.com/fsnotify/fsnotify",
    68      "k8s.io/klog": "we have switched to klog v2, so avoid klog v1",
    69      "rsc.io/quote": "refer to #102833",
    70      "rsc.io/sampler": "refer to #102833"
    71    }
    72  },
    73  "status": {
    74    "unwantedReferences": {
    75      "cloud.google.com/go": [
    76        "cloud.google.com/go/compute",
    77        "google.golang.org/genproto"
    78      ],
    79      "cloud.google.com/go/bigquery": [
    80        "google.golang.org/genproto"
    81      ],
    82      "cloud.google.com/go/compute": [
    83        "cloud.google.com/go/compute/metadata",
    84        "github.com/google/cadvisor",
    85        "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc",
    86        "golang.org/x/oauth2",
    87        "google.golang.org/genproto",
    88        "google.golang.org/grpc"
    89      ],
    90      "cloud.google.com/go/firestore": [
    91        "google.golang.org/genproto"
    92      ],
    93      "github.com/GoogleCloudPlatform/k8s-cloud-provider": [
    94        "k8s.io/kubernetes",
    95        "k8s.io/legacy-cloud-providers"
    96      ],
    97      "github.com/go-kit/kit": [
    98        "github.com/grpc-ecosystem/go-grpc-middleware"
    99      ],
   100      "github.com/gogo/googleapis": [
   101        "github.com/google/cadvisor"
   102      ],
   103      "github.com/gogo/protobuf": [
   104        "github.com/Microsoft/hcsshim",
   105        "github.com/containerd/cgroups",
   106        "github.com/containerd/ttrpc",
   107        "github.com/containerd/typeurl",
   108        "github.com/google/cadvisor",
   109        "github.com/grpc-ecosystem/go-grpc-middleware",
   110        "go.etcd.io/etcd/api/v3",
   111        "go.etcd.io/etcd/client/v3",
   112        "go.etcd.io/etcd/raft/v3",
   113        "go.etcd.io/etcd/server/v3",
   114        "k8s.io/api",
   115        "k8s.io/apiextensions-apiserver",
   116        "k8s.io/apimachinery",
   117        "k8s.io/apiserver",
   118        "k8s.io/client-go",
   119        "k8s.io/code-generator",
   120        "k8s.io/cri-api",
   121        "k8s.io/kms",
   122        "k8s.io/kube-aggregator",
   123        "k8s.io/kubelet",
   124        "k8s.io/kubernetes",
   125        "k8s.io/metrics"
   126      ],
   127      "github.com/google/s2a-go": [
   128        "cloud.google.com/go/compute",
   129        "google.golang.org/api"
   130      ],
   131      "github.com/google/shlex": [
   132        "sigs.k8s.io/kustomize/api",
   133        "sigs.k8s.io/kustomize/kustomize/v5"
   134      ],
   135      "github.com/googleapis/enterprise-certificate-proxy": [
   136        "cloud.google.com/go/compute",
   137        "google.golang.org/api"
   138      ],
   139      "github.com/googleapis/gax-go/v2": [
   140        "cloud.google.com/go/compute"
   141      ],
   142      "github.com/gregjones/httpcache": [
   143        "k8s.io/client-go"
   144      ],
   145      "github.com/grpc-ecosystem/go-grpc-prometheus": [
   146        "go.etcd.io/etcd/client/v3",
   147        "go.etcd.io/etcd/server/v3",
   148        "k8s.io/apiserver"
   149      ],
   150      "github.com/grpc-ecosystem/grpc-gateway": [
   151        "go.etcd.io/etcd/api/v3",
   152        "go.etcd.io/etcd/server/v3"
   153      ],
   154      "github.com/json-iterator/go": [
   155        "github.com/prometheus/client_golang",
   156        "go.etcd.io/etcd/client/v2",
   157        "go.etcd.io/etcd/server/v3",
   158        "go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful",
   159        "k8s.io/kube-openapi",
   160        "sigs.k8s.io/structured-merge-diff/v4"
   161      ],
   162      "github.com/mailru/easyjson": [
   163        "github.com/go-openapi/swag",
   164        "k8s.io/kube-openapi",
   165        "sigs.k8s.io/kustomize/api",
   166        "sigs.k8s.io/kustomize/kustomize/v5",
   167        "sigs.k8s.io/kustomize/kyaml"
   168      ],
   169      "github.com/pkg/errors": [
   170        "github.com/Microsoft/hcsshim",
   171        "github.com/containerd/continuity",
   172        "github.com/containerd/fifo",
   173        "github.com/containerd/go-runc",
   174        "github.com/containerd/typeurl",
   175        "github.com/google/cadvisor",
   176        "github.com/grpc-ecosystem/go-grpc-middleware",
   177        "gotest.tools/v3",
   178        "k8s.io/kubectl",
   179        "k8s.io/kubernetes",
   180        "k8s.io/system-validators",
   181        "sigs.k8s.io/kustomize/api",
   182        "sigs.k8s.io/kustomize/kustomize/v5"
   183      ],
   184      "go.opencensus.io": [
   185        "cloud.google.com/go/compute",
   186        "github.com/Microsoft/hcsshim",
   187        "google.golang.org/api"
   188      ],
   189      "golang.org/x/exp": [
   190        "github.com/antlr/antlr4/runtime/Go/antlr/v4",
   191        "github.com/google/cel-go"
   192      ],
   193      "google.golang.org/api": [
   194        "cloud.google.com/go/compute",
   195        "github.com/GoogleCloudPlatform/k8s-cloud-provider",
   196        "github.com/googleapis/gax-go/v2",
   197        "k8s.io/kubernetes",
   198        "k8s.io/legacy-cloud-providers"
   199      ],
   200      "google.golang.org/appengine": [
   201        "cloud.google.com/go/compute",
   202        "github.com/grpc-ecosystem/grpc-gateway/v2",
   203        "github.com/prometheus/client_golang",
   204        "github.com/prometheus/common",
   205        "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc",
   206        "golang.org/x/oauth2",
   207        "google.golang.org/api",
   208        "google.golang.org/grpc"
   209      ],
   210      "google.golang.org/genproto": [
   211        "cloud.google.com/go/compute",
   212        "github.com/container-storage-interface/spec",
   213        "github.com/containerd/ttrpc",
   214        "github.com/googleapis/gax-go/v2",
   215        "github.com/grpc-ecosystem/go-grpc-middleware",
   216        "github.com/grpc-ecosystem/grpc-gateway",
   217        "github.com/grpc-ecosystem/grpc-gateway/v2",
   218        "go.etcd.io/etcd/api/v3",
   219        "go.etcd.io/etcd/client/v3",
   220        "go.etcd.io/etcd/server/v3",
   221        "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc",
   222        "google.golang.org/api",
   223        "google.golang.org/genproto/googleapis/api",
   224        "google.golang.org/genproto/googleapis/rpc",
   225        "google.golang.org/grpc"
   226      ]
   227    },
   228    "unwantedVendored": [
   229      "cloud.google.com/go/compute",
   230      "github.com/GoogleCloudPlatform/k8s-cloud-provider",
   231      "github.com/gogo/protobuf",
   232      "github.com/google/s2a-go",
   233      "github.com/google/shlex",
   234      "github.com/googleapis/enterprise-certificate-proxy",
   235      "github.com/googleapis/gax-go/v2",
   236      "github.com/gregjones/httpcache",
   237      "github.com/grpc-ecosystem/go-grpc-prometheus",
   238      "github.com/grpc-ecosystem/grpc-gateway",
   239      "github.com/json-iterator/go",
   240      "github.com/mailru/easyjson",
   241      "github.com/pkg/errors",
   242      "go.opencensus.io",
   243      "golang.org/x/exp",
   244      "google.golang.org/api",
   245      "google.golang.org/appengine",
   246      "google.golang.org/genproto"
   247    ]
   248  }
   249}

View as plain text