| // Copyright 2020 The Monogon Project Authors. |
| // |
| // SPDX-License-Identifier: Apache-2.0 |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| package main |
| |
| func depsKubernetes(p *planner) { |
| // containerd and its deps |
| p.collect( |
| "k8s.io/kubernetes", "v1.19.7", |
| buildTags("providerless"), |
| disabledProtoBuild, |
| patches( |
| "k8s-kubernetes.patch", |
| "k8s-kubernetes-build.patch", |
| "k8s-native-metrics.patch", |
| "k8s-use-native.patch", |
| "k8s-revert-seccomp-runtime-default.patch", |
| ), |
| prePatches( |
| "k8s-e2e-tests-providerless.patch", |
| "k8s-fix-paths.patch", |
| "k8s-fix-logs-path.patch", |
| "k8s-drop-legacy-log-path.patch", |
| ), |
| ).inject( |
| // repo infra, not requested by k8s, but used with bazel |
| "k8s.io/repo-infra", "a3483874bd37251c629c92df6d82a226b0e6ad92", |
| prePatches("k8s-infra-bzl4-compat.patch"), |
| ).with(prePatches("k8s-client-go.patch")).use( |
| "k8s.io/client-go", |
| ).with(patches("k8s-native-mounter.patch")).use( |
| "k8s.io/utils", |
| ).use( |
| "k8s.io/cli-runtime", |
| "k8s.io/client-go", |
| "k8s.io/cloud-provider", |
| "k8s.io/cluster-bootstrap", |
| "k8s.io/component-base", |
| "k8s.io/csi-translation-lib", |
| "k8s.io/kube-controller-manager", |
| "k8s.io/kube-proxy", |
| "k8s.io/kube-scheduler", |
| "k8s.io/kubectl", |
| "k8s.io/legacy-cloud-providers", |
| "k8s.io/sample-apiserver", |
| ).with(disabledProtoBuild).use( |
| "k8s.io/api", |
| "k8s.io/apiextensions-apiserver", |
| "k8s.io/apimachinery", |
| "k8s.io/apiserver", |
| "k8s.io/cri-api", |
| "k8s.io/kube-aggregator", |
| "k8s.io/kubelet", |
| "k8s.io/metrics", |
| ).use( |
| "cloud.google.com/go", |
| "github.com/Azure/go-ansiterm", |
| "github.com/MakeNowJust/heredoc", |
| "github.com/NYTimes/gziphandler", |
| "github.com/PuerkitoBio/purell", |
| "github.com/PuerkitoBio/urlesc", |
| "github.com/armon/circbuf", |
| "github.com/asaskevich/govalidator", |
| "github.com/bgentry/speakeasy", |
| "github.com/blang/semver", |
| "github.com/chai2010/gettext-go", |
| "github.com/container-storage-interface/spec", |
| "github.com/coreos/go-oidc", |
| "github.com/coreos/go-semver", |
| "github.com/coreos/go-systemd", |
| "github.com/coreos/pkg", |
| "github.com/cyphar/filepath-securejoin", |
| "github.com/daviddengcn/go-colortext", |
| "github.com/dgrijalva/jwt-go", |
| "github.com/docker/go-connections", |
| "github.com/docker/distribution", |
| "github.com/dustin/go-humanize", |
| "github.com/elazarl/goproxy", |
| "github.com/euank/go-kmsg-parser", |
| "github.com/evanphx/json-patch", |
| "github.com/exponent-io/jsonpath", |
| "github.com/fatih/camelcase", |
| "github.com/fatih/color", |
| "github.com/ghodss/yaml", |
| "github.com/go-openapi/analysis", |
| "github.com/go-openapi/errors", |
| "github.com/go-openapi/jsonpointer", |
| "github.com/go-openapi/jsonreference", |
| "github.com/go-openapi/loads", |
| "github.com/go-openapi/runtime", |
| "github.com/go-openapi/spec", |
| "github.com/go-openapi/strfmt", |
| "github.com/go-openapi/swag", |
| "github.com/go-openapi/validate", |
| "github.com/go-stack/stack", |
| "github.com/golang/groupcache", |
| "github.com/google/btree", |
| "github.com/google/go-cmp", |
| "github.com/googleapis/gnostic", |
| "github.com/gorilla/websocket", |
| "github.com/gregjones/httpcache", |
| "github.com/grpc-ecosystem/go-grpc-middleware", |
| "github.com/grpc-ecosystem/go-grpc-prometheus", |
| "github.com/grpc-ecosystem/grpc-gateway", |
| "github.com/hashicorp/hcl", |
| "github.com/hpcloud/tail", |
| "github.com/jonboulle/clockwork", |
| "github.com/karrick/godirwalk", |
| "github.com/liggitt/tabwriter", |
| "github.com/lithammer/dedent", |
| "github.com/mailru/easyjson", |
| "github.com/magiconair/properties", |
| "github.com/mattn/go-colorable", |
| "github.com/mattn/go-isatty", |
| "github.com/mattn/go-runewidth", |
| "github.com/mindprince/gonvml", |
| "github.com/mistifyio/go-zfs", |
| "github.com/mitchellh/go-wordwrap", |
| "github.com/mitchellh/mapstructure", |
| "github.com/moby/term", |
| "github.com/moby/sys/mountinfo", |
| "github.com/morikuni/aec", |
| "github.com/mrunalp/fileutils", |
| "github.com/munnerz/goautoneg", |
| "github.com/mxk/go-flowrate", |
| "github.com/olekukonko/tablewriter", |
| "github.com/onsi/ginkgo", |
| "github.com/onsi/gomega", |
| "github.com/peterbourgon/diskv", |
| "github.com/pquerna/cachecontrol", |
| "github.com/robfig/cron", |
| "github.com/russross/blackfriday", |
| "github.com/soheilhy/cmux", |
| "github.com/spf13/afero", |
| "github.com/spf13/cast", |
| "github.com/spf13/jwalterweatherman", |
| "github.com/spf13/cobra", |
| "github.com/spf13/pflag", |
| "github.com/spf13/viper", |
| "github.com/stretchr/testify", |
| "github.com/tmc/grpc-websocket-proxy", |
| "github.com/vishvananda/netlink", |
| "github.com/vishvananda/netns", |
| "github.com/xiang90/probing", |
| "go.mongodb.org/mongo-driver", |
| "go.uber.org/atomic", |
| "go.uber.org/multierr", |
| "go.uber.org/zap", |
| "golang.org/x/net", |
| "golang.org/x/xerrors", |
| "gonum.org/v1/gonum", |
| "gopkg.in/fsnotify.v1", |
| "gopkg.in/natefinch/lumberjack.v2", |
| "gopkg.in/square/go-jose.v2", |
| "gopkg.in/tomb.v1", |
| "k8s.io/gengo", |
| "k8s.io/heapster", |
| "k8s.io/kube-openapi", |
| "sigs.k8s.io/apiserver-network-proxy/konnectivity-client", |
| "sigs.k8s.io/kustomize", |
| "sigs.k8s.io/structured-merge-diff/v4", |
| "vbom.ml/util", |
| ).use( |
| "github.com/google/cadvisor", |
| ).with(disabledProtoBuild).use( |
| "go.etcd.io/etcd", |
| ) |
| } |