blob: 76a1f241a8308743e12fdafea1c711af16311435 [file] [log] [blame]
Serge Bazanskif369cfa2020-05-22 18:36:42 +02001// Copyright 2020 The Monogon Project Authors.
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16
17package main
18
19func depsKubernetes(p *planner) {
20 // containerd and its deps
21 p.collect(
22 "k8s.io/kubernetes", "v1.19.0-alpha.2",
23 buildTags("providerless"),
24 disabledProtoBuild,
Lorenz Brun878f5f92020-05-12 16:15:39 +020025 patches(
26 "k8s-kubernetes.patch",
27 "k8s-kubernetes-build.patch",
28 "k8s-native-metrics.patch",
29 "k8s-use-native.patch",
30 ),
Serge Bazanskif369cfa2020-05-22 18:36:42 +020031 ).inject(
32 // repo infra, not requested by k8s, but used with bazel
33 "k8s.io/repo-infra", "df02ded38f9506e5bbcbf21702034b4fef815f2f",
34 ).with(patches("k8s-client-go.patch", "k8s-client-go-build.patch")).use(
35 "k8s.io/client-go",
Lorenz Brun878f5f92020-05-12 16:15:39 +020036 ).with(patches("k8s-native-mounter.patch")).use(
37 "k8s.io/utils",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020038 ).use(
39 "k8s.io/cli-runtime",
40 "k8s.io/client-go",
41 "k8s.io/cloud-provider",
42 "k8s.io/cluster-bootstrap",
43 "k8s.io/component-base",
44 "k8s.io/csi-translation-lib",
45 "k8s.io/kube-controller-manager",
46 "k8s.io/kube-proxy",
47 "k8s.io/kube-scheduler",
48 "k8s.io/kubectl",
49 "k8s.io/legacy-cloud-providers",
50 "k8s.io/sample-apiserver",
51 ).with(disabledProtoBuild).use(
52 "k8s.io/api",
53 "k8s.io/apiextensions-apiserver",
54 "k8s.io/apimachinery",
55 "k8s.io/apiserver",
56 "k8s.io/cri-api",
57 "k8s.io/kube-aggregator",
58 "k8s.io/kubelet",
59 "k8s.io/metrics",
60 ).use(
61 "cloud.google.com/go",
62 "github.com/Azure/go-ansiterm",
63 "github.com/MakeNowJust/heredoc",
64 "github.com/NYTimes/gziphandler",
65 "github.com/PuerkitoBio/purell",
66 "github.com/PuerkitoBio/urlesc",
67 "github.com/armon/circbuf",
68 "github.com/asaskevich/govalidator",
69 "github.com/bgentry/speakeasy",
70 "github.com/blang/semver",
71 "github.com/chai2010/gettext-go",
72 "github.com/checkpoint-restore/go-criu",
73 "github.com/container-storage-interface/spec",
74 "github.com/coreos/go-oidc",
75 "github.com/coreos/go-semver",
76 "github.com/coreos/go-systemd",
77 "github.com/coreos/pkg",
78 "github.com/cyphar/filepath-securejoin",
79 "github.com/daviddengcn/go-colortext",
80 "github.com/dgrijalva/jwt-go",
81 "github.com/docker/go-connections",
82 "github.com/dustin/go-humanize",
83 "github.com/euank/go-kmsg-parser",
84 "github.com/evanphx/json-patch",
85 "github.com/exponent-io/jsonpath",
86 "github.com/fatih/camelcase",
87 "github.com/fatih/color",
88 "github.com/ghodss/yaml",
89 "github.com/go-openapi/analysis",
90 "github.com/go-openapi/errors",
91 "github.com/go-openapi/jsonpointer",
92 "github.com/go-openapi/jsonreference",
93 "github.com/go-openapi/loads",
94 "github.com/go-openapi/runtime",
95 "github.com/go-openapi/spec",
96 "github.com/go-openapi/strfmt",
97 "github.com/go-openapi/swag",
98 "github.com/go-openapi/validate",
99 "github.com/go-stack/stack",
100 "github.com/golang/groupcache",
101 "github.com/google/btree",
102 "github.com/google/go-cmp",
103 "github.com/googleapis/gnostic",
104 "github.com/gorilla/websocket",
105 "github.com/gregjones/httpcache",
106 "github.com/grpc-ecosystem/go-grpc-middleware",
107 "github.com/grpc-ecosystem/go-grpc-prometheus",
108 "github.com/grpc-ecosystem/grpc-gateway",
109 "github.com/jonboulle/clockwork",
110 "github.com/karrick/godirwalk",
111 "github.com/liggitt/tabwriter",
112 "github.com/lithammer/dedent",
113 "github.com/mailru/easyjson",
114 "github.com/mattn/go-colorable",
115 "github.com/mattn/go-isatty",
116 "github.com/mattn/go-runewidth",
117 "github.com/mindprince/gonvml",
118 "github.com/mitchellh/go-wordwrap",
119 "github.com/mitchellh/mapstructure",
120 "github.com/moby/term",
121 "github.com/morikuni/aec",
122 "github.com/mrunalp/fileutils",
123 "github.com/munnerz/goautoneg",
124 "github.com/mxk/go-flowrate",
125 "github.com/olekukonko/tablewriter",
126 "github.com/peterbourgon/diskv",
127 "github.com/pquerna/cachecontrol",
128 "github.com/robfig/cron",
129 "github.com/soheilhy/cmux",
130 "github.com/spf13/afero",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200131 "github.com/spf13/pflag",
132 "github.com/tmc/grpc-websocket-proxy",
133 "github.com/vishvananda/netlink",
134 "github.com/vishvananda/netns",
135 "github.com/xiang90/probing",
136 "go.mongodb.org/mongo-driver",
137 "go.uber.org/atomic",
138 "go.uber.org/multierr",
139 "go.uber.org/zap",
140 "golang.org/x/xerrors",
141 "gonum.org/v1/gonum",
142 "gopkg.in/natefinch/lumberjack.v2",
143 "gopkg.in/square/go-jose.v2",
144 "k8s.io/gengo",
145 "k8s.io/heapster",
146 "k8s.io/kube-openapi",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200147 "sigs.k8s.io/apiserver-network-proxy/konnectivity-client",
148 "sigs.k8s.io/kustomize",
149 "sigs.k8s.io/structured-merge-diff/v3",
150 "vbom.ml/util",
151 ).with(patches("cadvisor.patch", "cadvisor-build.patch")).use(
152 "github.com/google/cadvisor",
153 ).with(disabledProtoBuild).use(
154 "go.etcd.io/etcd",
155 )
156}