Commit Graph

2037 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8b9f02836d
Merge pull request #103156 from claudiubelu/windows-osversion-cleanup
images: Removes OS Version workaround for manifest list images
2021-08-12 09:10:00 -07:00
Marek Siarkowicz
704628fde4 Update golang used in etcd image to 1.16.7 2021-08-12 10:28:01 +02:00
Kubernetes Prow Robot
7dd4f1742f
Merge pull request #104296 from claudiubelu/test-images/automate-agnhost-binary-version
test images: Simplifies the agnhost binary version
2021-08-11 04:36:47 -07:00
Claudiu Belu
94ac896269 test images: Simplifies the agnhost binary version
Currently, whenever agnhost/VERSION is bumped, the version in
agnhost/agnhost.go has to be bumped as well. This is also verified
on presubmit (build/dependencies.yaml).

This means that whenever we need to bump the agnhost image version,
someone has to approve the build/dependencies.yaml, which is not as
easy.

This commit removes the need for this check by automatically setting
the Version inside agnhost.go at build time, simplifying the process.
2021-08-11 09:12:03 +00:00
Davanum Srinivas
f63dbd481f
Warn if docker buildx is not available
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-10 14:42:11 -04:00
Kubernetes Prow Robot
bb793e8d4b
Merge pull request #104245 from m-Bilal/fix-buildx-dependency-documentation
Fixes 104067; Explicitly states Docker CLI plugin buildx required for building using Docker
2021-08-10 05:55:18 -07:00
m-Bilal
8fd371353c Fixes 104067; Explicitly states Docker CLI plugin buildx required for building using Docker 2021-08-09 21:52:46 +05:30
Mengjiao Liu
4f1b1d72e3 Update setcap image to buster-v2.0.4 2021-08-07 09:49:18 +08:00
Mengjiao Liu
cafad98536 Update debian-iptables image to buster-v1.6.6 2021-08-07 09:47:29 +08:00
Mengjiao Liu
08d8f29a7a Update debian-base image to buster-v1.9.0 2021-08-07 09:44:59 +08:00
Kubernetes Prow Robot
ebc87c39d3
Merge pull request #104204 from aramprice/pause-tag-is-configurable
TAG used when building pause is configurable
2021-08-06 16:59:29 -07:00
aram price
f9efd14d44 TAG used when building pause is configurable
This change allows the  `TAG` value in the pause Makefile to be
overridden from the environment. Defaults to existing hard-coded value
in `build/pause/Makefile`
2021-08-06 10:49:38 -07:00
Carlos Panato
6b9dc099f8
[go1.16] Update to go1.16.7
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-08-06 17:11:00 +02:00
Kubernetes Prow Robot
8c64743d73
Merge pull request #104185 from dims/allow-a-custom-kube-cross-image-and-tag-during-build
Allow a custom kube-cross image + tag to be specified
2021-08-06 02:33:19 -07:00
Kubernetes Prow Robot
0427b17395
Merge pull request #104164 from dims/allow-override-of-cgo-enabled
Allow override of KUBE_CGO_OVERRIDES (for switching on/off of `CGO_ENABLED`)
2021-08-05 16:37:26 -07:00
Davanum Srinivas
00d89aad50
Allow a custom kube-cross image + tag to be specified
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-05 19:26:09 -04:00
Davanum Srinivas
af2129b77d
Allow override of CGO_ENABLED=0
When building inside a docker container, we fail to pass along enough
information for KUBE_CGO_OVERRIDES. The original PR was geared towards
building the binary from the command line

- dca376a03e
- e4ded2b3ec

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-05 10:45:14 -04:00
Jordan Liggitt
4115bef826 Update references to test/conformance/image 2021-07-23 11:26:54 -04:00
Carlos Panato
83f8d1ad72
[go1.16] Update to go1.16.6
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-07-13 18:05:16 +02:00
Kubernetes Prow Robot
5fd2437b59
Merge pull request #102202 from ricolin/add-buildx-instruction-in-doc
[docs] Add build instruction for buildx CLI plugin
2021-07-09 08:43:06 -07:00
Kubernetes Prow Robot
ac554af79b
Merge pull request #103142 from serathius/etcd-3.5.0
Upgrade etcd to 3.5.0
2021-07-07 12:40:22 -07:00
Oz N Tiram
552e1549ba
Build: improve documentation of build artifacts
As described in #100596 this can surprise newcomers.
This adds a paragraph which explains where are the build
artifacts are and how to use the docker images produced
by the build system.
2021-06-29 23:29:35 +02:00
Nabarun Pal
0ab03d3d5b
dependencies: remove go-bindata
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 19:16:51 +05:30
Joyce Kung
aeccadda4f Update setcap image to buster-v2.0.3 2021-06-26 15:16:12 -04:00
Joyce Kung
0a8a9188c9 Update debian-iptables image to buster-v1.6.5 2021-06-25 20:45:20 -04:00
Joyce Kung
42f9333e7f Update debian-base image to buster-v1.8.0 2021-06-25 20:38:15 -04:00
Claudiu Belu
a7c48e9707 images: Removes OS Version workaround for manifest list images
For manifest lists containing Windows images, it is important to also have the "os.version"
annotation set, as it is needed by the Windows nodes, so they can pull the appropriate image
from the list.

Previously, the docker manifest CLI did not have the capability to set it, so, we had to set
it outselves in the manifest list's image JSON file. This is no longer necessary since
docker 20.10.0, which includes docker manifest annotate --os-version.

The docker installed in the image gcr.io/k8s-testimages/gcb-docker-gcloud:v20210622-762366a
satisfies this version requirement.
2021-06-24 13:39:44 +00:00
Marek Siarkowicz
ebe550bd48 Upgrade etcd to 3.5.0 2021-06-24 09:15:17 +02:00
Kubernetes Prow Robot
cfa0130b9f
Merge pull request #102466 from pacoxu/dns-1.8.4
kubeadm: update coredns to 1.8.4
2021-06-21 18:14:10 -07:00
pacoxu
4ee38f33d2 update etcd makefile to build v3.5.0 image 2021-06-16 14:41:44 +08:00
pacoxu
188193e1c0 kubeadm: upgrade coredns 1.8.4 and corefile-migration to v1.0.12
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-06-15 13:03:42 +08:00
Kubernetes Prow Robot
f008ba0fed
Merge pull request #102062 from serathius/etcd-server
Update Etcd server image to 3.5.0-rc.0-0
2021-06-10 08:23:27 -07:00
Kubernetes Prow Robot
4f854e39f2
Merge pull request #102689 from cpanato/go1165
[go1.16] Update to go1.16.5
2021-06-09 12:31:27 -07:00
Kubernetes Prow Robot
afcb09cf5b
Merge pull request #102692 from dims/add-dims-as-approver-in-build-directory
Add dims as approver in build/ directory
2021-06-09 11:25:51 -07:00
Marek Siarkowicz
12447bc803 Upgrade etcd server version to 3.5.0-rc.0 2021-06-09 17:00:05 +02:00
Mengjiao Liu
dc5626cc18 Upgrade debian-base to buster v1.7.1 2021-06-09 14:30:31 +08:00
Kubernetes Prow Robot
4413ed50dd
Merge pull request #102585 from serathius/etcd-v3.5.0-rc.0
Update etcd makefile to build v3.5.0-rc.0 image
2021-06-08 12:26:28 -07:00
Davanum Srinivas
652e056e61
Add dims as approver in build/ directory
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-08 08:30:46 -04:00
Carlos Panato
1524526991
[go1.16] Update to go1.16.5
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-06-08 14:11:32 +02:00
Kubernetes Prow Robot
aaceb26ea3
Merge pull request #99080 from vinayakankugoyal/dockerfile3
Use docker buildx for the build-image.
2021-06-05 11:46:38 -07:00
Benjamin Elder
45179bb989 update debian-iptables to v1.6.2
picks up https://github.com/kubernetes/release/pull/2106
2021-06-04 01:03:55 -07:00
Marek Siarkowicz
82be7aad26 Update etcd makefile to build v3.5.0-rc.0 image 2021-06-04 08:31:19 +02:00
Kubernetes Prow Robot
bc8acbc43e
Merge pull request #102328 from lentzi90/update-cni-plugins
Update CNI plugins v0.9.1
2021-05-28 10:16:46 -07:00
Marko Mudrinić
12fe4dee2b
Update setcap to buster-v2.0.1 and add setcap to dependencies.yaml
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2021-05-27 18:32:22 +02:00
Sascha Grunert
0ed0714f8c
Simplify kube-cross dependency handling
We can indirectly retrieve the kube-cross version from the
`build/build-image/cross/VERSION` for the sample-apiserver. This allows
us to simplify the handling in `build/dependencies.yaml` as well as
the required approval (via `OWNERS`) if the kube-cross version changes.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-27 14:51:46 +02:00
Sascha Grunert
ae4db677f4
Update kube-cross to v1.16.4-2
This patch bumps kube-cross to the latest release.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-27 12:18:28 +02:00
Lennart Jern
507710b50f
Update CNI plugins v0.9.1
ref: https://github.com/containernetworking/plugins/releases/tag/v0.9.1
Signed-off-by: Lennart Jern <lennart.jern@est.tech>
2021-05-26 11:02:04 +03:00
Marko Mudrinić
33fe4bb076
Update debian-base to buster-v1.7.0
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2021-05-25 22:49:03 +02:00
Marko Mudrinić
3bcc15e19d
Update debian-iptables to buster-v1.6.1
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2021-05-25 22:49:03 +02:00
Kubernetes Prow Robot
fd82c69957
Merge pull request #102277 from serathius/etcd-image
Update etcd makefile to build v3.5.0-beta.3 image
2021-05-25 13:46:54 -07:00
Marek Siarkowicz
e862421c2b Update etcd makefile to build v3.5.0-beta.3 image 2021-05-25 15:37:22 +02:00
Sascha Grunert
b167fc24d7
Update pause image to v3.5
Update dependencies and the test images to use pause 3.5. We also
provide a changelog entry for the new container image version.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-25 09:04:46 +02:00
ricolin
03d60a89a0 Add build instruction for buildx CLI plugin
docker buildx CLI plugin is not default enable most functionality which we
comsumed during build releases. Means `docker buildx build` will work, but
flags like `--load` or `--platform` is not supported. Which is still true
statement with most up-to-date docker version. That means for new join
member who plan to build by themself, will need to notice if buildx is
properly installed. And not getting confused by build script when docker
complant about unknown flag `--load`, `--platoform`. Hance, add buildx
instruction to note.
2021-05-21 15:48:30 +08:00
Kubernetes Prow Robot
1c8f2c3d77
Merge pull request #100753 from johnSchnake/newCustomRegistries
Clean up and make more image handling consistent
2021-05-12 22:10:24 -07:00
Stephen Augustus
5b530da51f [go1.16] Update to go1.16.4
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-05-07 15:47:54 -04:00
Kubernetes Prow Robot
44e7d15885
Merge pull request #100592 from claudiubelu/pause-image-kube-cross-update
pause image: Uses kube-cross image to build Windows binaries
2021-05-06 12:04:00 -07:00
John Schnake
0adf70b61b Clean up and make more image handling consistent
- Cleans up some of the image registry handling by
initializing values in a more consistent and clear
manner.

- Adds the Docker library registry to the list of
values that is override-able.

- Adds a few branches to logic to ensure each registry
is handled the same.
2021-05-05 21:08:29 -05:00
Michael Taufen
b33cd86a27 Update tests to use agnhost 2.32
Updates e2e tests to use agnhost 2.32, which fixes an issue with the
conformance tests for ServiceAccountIssuerDiscovery.

Original fix: https://github.com/kubernetes/kubernetes/pull/101589

Image promotion: https://github.com/kubernetes/k8s.io/pull/1994
2021-05-03 14:23:46 -07:00
Michael Taufen
0b3b99c096 Try both in-cluster and external discovery
The conformance test for ServiceAccountIssuerDiscovery is currently
configured with --in-cluster-discovery, which only supports token
validation against in-cluster endpoints. Many cloud providers provide
their own, external endpoints for OIDC discovery, and because the iss
claim in tokens will point to these endpoints, but the client in this
test only trusts the Cluster CA, it will fail to connect to the external
discovery endpoints when validating the token.

To ensure that the conformance test at least supports scenario where
both the discovery doc endpoint and JWKS endpoint are cluster-local and
the scenario where both endpoints are cluster-external, this PR has the
test try both and requires at least one to pass.

Caveat: The test still won't support a configuration where one
endpoint is cluster-local and the other is external. We don't yet have
evidence that this is a configuration that is used in practice, so this
initial hotfix will at least fix the conformance test for the "both
external" configuration we know providers already use. Note that if one
endpoint is cluster-local, and the other is cluster-external, tokens can
still only be validated in-cluster, because both endpoints must be
accessible to Relying Parties that validate tokens.
2021-04-29 08:56:02 -07:00
Claudiu Belu
b53958342d pause image: Uses kube-cross image to build windows binaries
kube-cross:v1.16.3-1 contains x86_64-w64-mingw32, which will allow us to
build Windows binaries. With this, we won't have to rely on the dockerhub
image dockcross/windows-static-x64.
2021-04-26 14:33:06 +00:00
Kubernetes Prow Robot
425e33bd50
Merge pull request #101100 from springasa/springasa-patch-1
Simplify the repeat lines in build/root/Makefile
2021-04-18 11:16:35 -07:00
Stephen Augustus
fac97f8a9b [go1.16] Update to go1.16.3
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-04-16 19:56:51 -04:00
Kubernetes Prow Robot
3ed71cf190
Merge pull request #100976 from jindijamie/master
releng: Update debian-base and debian-iptables to buster-v1.6.0 to patch base image CVEs
2021-04-16 12:56:34 -07:00
sure freeing go
fa774535eb
Simplify the repeat lines in build/root/Makefile 2021-04-14 17:33:51 +08:00
jindijamie
f44116ce49
Update dependencies.yaml 2021-04-12 14:31:36 -07:00
jindijamie
7e7a6284be update debian-base to buster-v1.5.0 for CVEs 2021-04-09 19:27:10 +00:00
Sascha Grunert
33e0e035ea
Update cri-tools to v1.21.0
This updates crictl to the latest available release.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-04-09 11:05:13 +02:00
Kubernetes Prow Robot
e49ba9dff6
Merge pull request #99740 from aramprice/make-kube-cross-image-registry-name-configurable
Add docs for KUBE_BASE_IMAGE_REGISTRY, update code comment
2021-04-08 15:59:26 -07:00
Davanum Srinivas
57ddfb7314
Switch to newer agnhost image
We have an update to the image in
f9aaf71ccb, we need to bump to use this
image.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-30 20:15:36 -04:00
Andrey Smirnov
f9aaf71ccb test/e2e: fix the OIDC discovery test with ECDSA service account key
By default oidc library enables only `RS256` signature validation
method.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-30 22:58:50 +03:00
Adolfo García Veytia (Puerco)
999a1f5c76 Add KUBE_BUILD_CONFORMANCE on package-tarballs target
Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net>
2021-03-25 18:20:36 -06:00
Ernest Wong
42011ecfe4
test image: bump agnhost version to 2.30
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-19 11:12:45 -07:00
Vinayak Goyal
086cdfb360 Use docker buildx for the build-image. 2021-03-16 19:51:15 -07:00
Kubernetes Prow Robot
72cc3f2112
Merge pull request #99860 from chewong/fix-99470
agnhost: resolve service account issuer URL before invoking oidc.NewProvider
2021-03-16 14:49:30 -07:00
Kubernetes Prow Robot
2a26f276a8
Merge pull request #97963 from saschagrunert/pause-non-root
Run pause image as non-root user and group
2021-03-16 05:30:36 -07:00
Ernest Wong
573535691b
agnhost: resolve service account issuer URL before invoking oidc.NewProvider
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-15 19:14:14 -07:00
Sascha Grunert
273fdd7686
Build conformance issue when building via cross or cross-in-a-container
This enables building the conformance image when running `make
cross-in-a-container`, which is being used by the release engineering
tooling.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-03-15 15:29:04 +01:00
aram price
c4bae5658f Update build/README.md and build/root/Makefile
* build/README.md includes info about KUBE_BASE_IMAGE_REGISTRY
* build/root/Makefile contains the correct default value for KUBE_BASE_IMAGE_REGISTRY
2021-03-12 14:21:56 -08:00
Kubernetes Prow Robot
7139f08763
Merge pull request #99592 from Joseph-Goergen/fix-buildimage-dockerfile
Fixed the Dockerfile for the build-image to build from KUBE_BASE_IMAGE_REGISTRY
2021-03-11 15:02:18 -08:00
Sascha Grunert
aad711f399
Run pause image as non-root user and group
We now build the pause image to use a pseudo user and group 65535:65535.
This increases the security aspect of the container image, if a
vulnerability would directly affect the pause container.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2021-03-11 09:29:45 +01:00
Kubernetes Prow Robot
91a7be0c2f
Merge pull request #98884 from fedepaol/hostnetworkudp
Network Tests: bind host network udp listeners to hostIPs
2021-03-11 00:18:24 -08:00
Stephen Augustus
13ef775df2 [go1.16] Update to go1.16.1
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-10 19:06:57 -05:00
Joseph Goergen
4d440889ff Fixed the Dockerfile for the build-image to build from KUBE_BASE_IMAGE_REGISTRY
related: https://github.ibm.com/alchemy-containers/armada-update/issues/1791
2021-03-10 16:07:51 -06:00
Benjamin Elder
b85bc6013f support additional WHAT= when building release-images / quick-release-images 2021-03-09 15:52:53 -08:00
Federico Paolinelli
b69bc865b4 Bump up the agnhost version used
This is needed to consume the changes in https://github.com/kubernetes/kubernetes/pull/98883

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-09 18:39:31 +01:00
Kubernetes Prow Robot
2d3acce39b
Merge pull request #99752 from pacoxu/coredns/promote
update cluster/dns/coredns to 1.8.0 as kubeadm
2021-03-08 12:07:28 -08:00
Benjamin Elder
aaa9280955 drop bazel from build/README.md 2021-03-07 15:27:44 -08:00
Benjamin Elder
b7f1cf7683 remove bazel from the makefile 2021-03-07 13:01:17 -08:00
Federico Paolinelli
f6451c93b1 Bump up agnhost version to 2.29
This is to consume the changes for binding the udp listeners of netexec
to specific addresses.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-05 10:49:09 +01:00
pacoxu
2185bb40d5 update clustere/dns/coredns to 1.8.0 as kubeadm 2021-03-05 09:38:15 +08:00
Kubernetes Prow Robot
9658145f8a
Merge pull request #99655 from liggitt/min-go-version
Update go version check to 1.16+
2021-03-03 20:13:59 -08:00
Stephen Augustus
093967606b hack/tools: Update zeitgeist to v0.2.0 to drop import cycle
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-03 05:42:05 -05:00
Jordan Liggitt
5e9189289e Update go version check to 1.16+ 2021-03-02 15:11:46 -05:00
Lubomir I. Ivanov
33aa64d7fd build/dependencies.yaml: update Docker to 20.10 2021-03-02 21:41:18 +02:00
Stephen Augustus
ee500e0647 [go1.16] Use go-runner:v2.3.1-go1.16-buster.0 image
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Stephen Augustus
274133fe11 [go1.16] Update to go1.16
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Benjamin Elder
603c942e41 drop directories that only contained bazel-related sources 2021-02-28 15:17:30 -08:00
Benjamin Elder
b1b2f239fe remove bazel related entries in build/dependencies.yaml 2021-02-28 15:17:30 -08:00
Benjamin Elder
56e092e382 hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
Kubernetes Prow Robot
5491484aa9
Merge pull request #99386 from BenTheElder/conformance-on-release
don't default to building conformance image for fastbuilds (quick-rel…
2021-02-26 14:50:46 -08:00
Jake Sanders
4b83c760a9 Split the setcap image from the base images, make them easier to override 2021-02-24 12:49:08 -08:00
Kubernetes Prow Robot
d25986b8a6
Merge pull request #99379 from vinayakankugoyal/kappa
Make the registry for the server-images templated in the Dockerfiles.
2021-02-23 18:27:07 -08:00
Benjamin Elder
a3a650f246 don't default to building conformance image for fastbuilds (quick-release)
continue defaulting to building it for release builds
2021-02-23 17:41:27 -08:00
Vinayak Goyal
b4c330ab72 Make the registry for the server-images templated in the Dockerfiles. 2021-02-23 13:40:13 -08:00
Kubernetes Prow Robot
f4801a7c85
Merge pull request #98799 from claudiubelu/images/cleanup-run
images: Removes containers after they've run
2021-02-22 22:24:11 -08:00
Kubernetes Prow Robot
fa0907a251
Merge pull request #99145 from vinayakankugoyal/kappa
Apply cap_net_bind_service to kube-apiserver binary.
2021-02-22 20:18:03 -08:00
Vinayak Goyal
87f5ee31bd Check if the current builder supports multi-arch. 2021-02-22 18:13:27 -08:00
Kubernetes Prow Robot
d6c7476ab3
Merge pull request #99155 from soltysh/convert_release
Add kubectl-convert to client-binaries
2021-02-22 17:24:15 -08:00
Maciej Szulik
0a0c80c553
Add kubectl-convert to client-binaries 2021-02-22 17:01:34 +01:00
Stephen Augustus
b14accb3d4 dependencies.yaml: Pin zeitgeist version and add comment about usage
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-22 09:58:12 -05:00
Vinayak Goyal
7edd17307c Apply cap_net_bind_service to kube-apiserver binary. 2021-02-17 21:26:19 -08:00
Kubernetes Prow Robot
4f1dd5d2fb
Merge pull request #96987 from soltysh/drop_batch-alpha
Drop batch/v2alpha1
2021-02-17 06:35:06 -08:00
Kubernetes Prow Robot
53345a216d
Merge pull request #99067 from vinayakankugoyal/dockerfile3
Use ARG and --build-arg instead of sed for build-image.
2021-02-13 22:01:04 -08:00
Vinayak Goyal
e05f4a3fac Use ARG and --build-arg instead of sed for build-image. 2021-02-13 17:10:32 -08:00
Kubernetes Prow Robot
b529be32e2
Merge pull request #99049 from knabben/agnhost28
Bump agnhost 2.28
2021-02-13 15:31:04 -08:00
Amim Knabben
aebb3faeff Bump agnhost 2.28 2021-02-12 19:13:38 -05:00
Maciej Szulik
7d9f36cd85
Generated changes 2021-02-12 17:51:15 +01:00
Vinayak Goyal
652b45e5c8 Add newline to the end of Dockerfile. 2021-02-11 22:38:52 -08:00
Vinayak Goyal
94f30808ae Use on disk Dockerfile for server-images. 2021-02-11 22:32:43 -08:00
Kubernetes Prow Robot
ab5a8c4af8
Merge pull request #98639 from knabben/udp-connect-agnhost
UDP protocol on connect agnhost command
2021-02-09 10:25:39 -08:00
Kubernetes Prow Robot
2b7c61b1bb
Merge pull request #98205 from pacoxu/build/pauses
update pause image to 3.4.1 and also update the change log
2021-02-08 18:20:58 -08:00
Amim Knabben
f1da11078a UDP protocol on connect agnhost command 2021-02-07 15:29:58 -05:00
Carlos Panato
c2e90d8baf
[go1.15] Use go-runner:buster-v2.3.1 image (built on go1.15.8) 2021-02-06 15:58:12 +01:00
Carlos Panato
8b5bf8ef91
[go1.15] Update to go1.15.8
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-02-06 15:55:39 +01:00
pacoxu
8946f26769 update pause to 3.4.1 for kubelet/kubeadm
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-05 21:33:01 +08:00
Claudiu Belu
41cdd40a2e images: Removes containers after they've run
Not all instances of docker run has the --rm argument, which means that they'll
persist after they've finished. This can cause storage to remain occupied needlessly.
2021-02-05 10:07:26 +00:00
Kubernetes Prow Robot
4480c44535
Merge pull request #98701 from justaugustus/rel-owners
OWNERS: RelEng and CHANGELOG updates
2021-02-02 15:20:29 -08:00
Stephen Augustus
1a43c6578a build/OWNERS: Add Dan and Sascha as reviewers
Dan and Sascha are senior Release Managers, SIG Release leadership, and
have already been giving thoughtful reviews of the content in this
directory.

Adding them as reviewers to spread the load of SIG Release eyes on
content.

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-02 15:45:14 -05:00
Sascha Grunert
54db83eef8
Make image build logs verbose if necessary
The `-q` flag is not implemented by `docker buildx`, which results in an
output:

```
WARN[0000] quiet currently not implemented.
```

In the same way, the build output is not logged to `stdout` (but
`stderr`). This means we now dump the whole build process to a file and
if the `docker buildx` command fails, then we output those logs by
printing the contents of that file. This will also reduce the overall
verbosity and aligns to the original `docker build` behavior.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-02-02 19:47:22 +01:00
Kubernetes Prow Robot
673a844834
Merge pull request #98338 from gavinfish/sched-remove-pro
Cleanup: remove prometheus dependencies for scheduler
2021-02-01 23:22:40 -08:00
hasheddan
1723719761
Build release images with DOCKER_CLI_EXPERIMENTAL enabled
In order to use buildx with docker versions prior to v20.10 experimental
features must be enabled. Setting at build time ensures that they are
in case they have not already been at the environment scope.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-02-01 13:14:58 -06:00
pacoxu
f4d843682d update pause image changelogs for 3.3-3.4.1
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-01 15:09:31 +08:00
drfish
c959e23250 Remove prometheus dependencies for scheduler 2021-01-30 12:15:22 +08:00
Kubernetes Prow Robot
d7cb340bc6
Merge pull request #83268 from odinuge/e2e_node_timeout
Add timeout config for node_e2e tests
2021-01-28 19:33:40 -08:00
Kubernetes Prow Robot
4a8b2d377b
Merge pull request #98336 from pacoxu/fix/94791-update-image
update metadata-concealment to 1.6 for removing legacy checking
2021-01-28 14:42:00 -08:00
Kubernetes Prow Robot
d54e4498fc
Merge pull request #98529 from saschagrunert/buildx
Use buildx in favor of `FROM --platform` syntax
2021-01-28 09:47:41 -08:00
Kubernetes Prow Robot
816e67ab9d
Merge pull request #97456 from claudiubelu/remove-busybox-helper
test images: Remove busybox-helper image
2021-01-28 08:21:34 -08:00
Sascha Grunert
646a202440
Use buildx in favor of FROM --platform syntax
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-01-28 14:53:09 +01:00
Sascha Grunert
1acaf32cff
Bump debian-base to v1.4.0 and debian-iptables to v1.5.0
Both images are now sane multi-architecture images and should fix the
kube-proxy container image in the same way.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-01-28 13:47:09 +01:00
pacoxu
f85cbdb410 update metadata-concealment to 1.6 for removing legacy checking
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-28 10:06:47 +08:00
Claudiu Belu
bdaf849c0f test images: Remove busybox-helper image
We cannot have any RUN commands in the Windows stage when using docker buildx,
which is why we were using the busybox-helper image. The purpose of the image
was to contain a few things that we would obtain by running a few commands:

- symlinks for the busybox binary
- run vcredist_x64.exe which would also give us the vcruntime140.dll which is
  necessary for dig or httpd.

There are alternatives to the commands above that can be achieved in a Linux stage
as well:

- we can create the symlinks in a Linux stage with ln -s. Copying them over to
Windows will allow them to work just as well as if they were being copied over
from a Windows image. The 'Files\' prefix issue to the symlink target still persists.
- we can download the vcruntime140.dll directly, allowing us to skip the vcredist_x64.exe
  installation.
2021-01-27 04:22:38 -08:00
Carlos Panato
d726c718bf
[go1.15] Use go-runner:buster-v2.2.4 image (built on go1.15.7) 2021-01-27 11:44:05 +01:00
Carlos Panato
e76fc62258
[go1.15] Update to go1.15.7
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-01-27 11:43:01 +01:00
pacoxu
03048e8b25 update debian-iptables to buster-v1.4.0 for base change
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-26 14:24:56 +08:00
pacoxu
f76be691a2 update debian-base to buster-v1.3.0 for CVEs
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-26 14:10:20 +08:00
Tim Hockin
6fe6941f2b 'make clean_generated' in staging, too 2021-01-25 10:27:18 -08:00
Tim Hockin
876c9f0d8c Rename _examples to examples
The alternative to this would be to special-case code-generator.  Since
it legit wants codegen, it seems wrong to make it be _examples (which tools
should ignore).

Make examples an "internal module" so the main go.mod for
k8s.io/code-generator does not get too polluted.
2021-01-25 10:20:46 -08:00
Tim Hockin
1b04d05423 Makefile: add debug on generated files 2021-01-25 10:15:59 -08:00
Tim Hockin
8703dc6e1c Makefile: remove redundant line
This same dep is expressed a few lines later in the "real" recipe.
2021-01-25 10:15:58 -08:00
Tim Hockin
e46810bca5 Make: $(foo:-) is shell, not makefile syntax
Driving towards `make --warn-undefined-variables`.
2021-01-25 10:15:58 -08:00
Tim Hockin
ee170145b2 Make: prefix magic go-deps variables with GODEPS
This makes them easier to see and find.

Driving towards `make --warn-undefined-variables`.
2021-01-25 10:15:58 -08:00
Tim Hockin
371d602a05 Make: change $(eval) in a comment
Because this comment is in a `define` which is later evaluated, the
syntactical `$(eval)` is treated like a variable exapansion.  Just
change the comment.

Driving towards `make --warn-undefined-variables`.
2021-01-25 10:15:58 -08:00
Tim Hockin
83dc781d29 Make: init variables
Driving towards the goal of `make --warn-undefined-variables` working.
2021-01-25 10:15:58 -08:00
Jordan Liggitt
8bac4ef9ad Drop runs-per-test for unit tests 2021-01-21 13:58:00 -05:00
Kubernetes Prow Robot
d73693cb44
Merge pull request #98101 from aojea/agnhost26
bump agnhost to 2.26
2021-01-15 17:08:31 -08:00
Kubernetes Prow Robot
a399b3e92f
Merge pull request #97935 from adeniyistephen/fix-build-readme
Fix the build/README.md documentation file on docker-machine remote
2021-01-15 17:08:05 -08:00
Antonio Ojea
44653fc21b bump agnhost to 2.26 2021-01-15 16:21:31 +01:00
jared
a6ab4661c3 Build multiplatform images when issue make release-images
Signed-off-by: jared <yu2003w@hotmail.com>
2021-01-14 21:21:29 +08:00
Kubernetes Prow Robot
5e7d62ecfc
Merge pull request #97967 from rajibmitra/master
Update cri-tools to v1.20.0
2021-01-13 13:27:15 -08:00
Kubernetes Prow Robot
8abe3714d2
Merge pull request #97853 from claudiubelu/patch-1
pause image: Fixes clean make action
2021-01-12 20:20:35 -08:00
Kubernetes Prow Robot
db14789b82
Merge pull request #97782 from chewong/fix-97780
pause: encode Windows OS version in image tag instead of repository
2021-01-12 13:48:36 -08:00
rajibmitra
69aae7aa6c Update cri-tools to v1.20.0
Signed-off-by: rajibmitra <rajib.jolite@gmail.com>
2021-01-12 19:02:51 +05:30
adeniyistephen
bfb4f17fe2 Fix the build/README.md documentation file on docker-machine remote 2021-01-12 00:34:09 +01:00
Kubernetes Prow Robot
be839a4365
Merge pull request #97177 from pacoxu/cleanup/docker-20.10
cleanup: legacy 'ENV name value' syntax deprecated(Docker 20.10)
2021-01-08 20:01:04 -08:00
Ernest Wong
747eec42fe
pause: encode Windows OS version in image tag instead of repository
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-01-08 18:02:28 -05:00
Claudiu Belu
b428c7ff33
pause image: Fixes clean make action
The ``.container-$OS-$ARCH`` make subaction is creating files with the same name, and ``clean`` is meant to delete them. However, the ``clean``'s rm regex is not quite correct.
2021-01-08 18:31:04 +02:00
Mike Danese
b624868386 bump repo-infra to 0.2.0
Change-Id: Id4fa13ca3cf092867bb0973294605962a8e5019c
2021-01-07 13:51:03 -08:00
Mike Danese
7d7852d3ef bump bazel to 3.4.1
Change-Id: I7ae75acba5518782a99ede2d896a787238d7b744
2021-01-07 13:51:03 -08:00
Kubernetes Prow Robot
9c894e23ef
Merge pull request #97618 from jherrera123/issue-94091-remove-docker-remote-build
Remove docker remote / docker-machine from build scripts
2021-01-06 10:55:52 -08:00
Davanum Srinivas
4b3475bc65
Ensure reproducible builds when build through docker
In d9cfd77149 and
d70d04f92b we added support for
reproducible builds for individual binaries (like kube-apiserver),
however we need to thread this support when we build binaries with
docker as well (say during "make quick-release").

Essentially, if GOLDFLAGS is set explicitly by someone either to a valid
value they would like to use or empty ("") then we pick that up. If it
is not set we should avoid setting GOLDFLAGS to empty. This ensures that
we support the same functionality documented here:
https://github.com/kubernetes/kubernetes/blob/master/build/root/Makefile#L82-L85

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-04 19:16:54 -05:00
Jesus Herrera
d8bedb3980 Remove docker remote/docker-machine from build scripts 2020-12-30 12:37:51 -05:00
Kubernetes Prow Robot
80be1d6c72
Merge pull request #96429 from rajansandeep/coredns180-kubeadm
[kubeadm]: Bump CoreDNS version to 1.8.0
2020-12-29 13:19:48 -08:00
Tim Hockin
6f0f7aad46 Fix Makfile cut-paste comment errors 2020-12-22 21:37:42 -08:00
Kubernetes Prow Robot
6fff9581c2
Merge pull request #97322 from claudiubelu/windows/20h2-pause-image
pause image: Adds 20H2 Windows OS Version base image
2020-12-18 08:46:25 -08:00
Rajas Kakodkar
902f4a9038 bump agnhost VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 17:48:28 +00:00
Claudiu Belu
ad97a5b7a5 pause image: Adds 20H2 Windows OS Version base image
A new Windows image has been released in the second half of 2020 with the tag 20H2.
We are going to need a pause image for it as well.

The image tag can be found here: https://hub.docker.com/_/microsoft-windows-nanoserver
2020-12-14 04:24:07 -08:00
pacoxu
75a2cc2cfd fix legacy 'ENV name value' syntax
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-10 10:38:10 +08:00
Stephen Augustus
a19cc9a245 [go1.15] Use go-runner:buster-v2.2.2 image (built on go1.15.5)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 21:23:25 -05:00
Stephen Augustus
2407a70cc7 [go1.15] Update to go1.15.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:49:56 -05:00
Stephen Augustus
eeb31f1a3c [go1.15] build: Update to k/repo-infra@v0.1.3 (supports go1.15.5)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:40:44 -05:00
Sandeep Rajan
40862c3b60 bump coredns to 1.8.0 2020-11-16 15:22:05 -05:00
yue9944882
849be447f5 APF: graduate API and types to beta
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:39 +00:00
Kubernetes Prow Robot
12d9183da0
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
RuntimeClass GA
2020-11-12 00:44:51 -08:00
Sergey Kanzhelev
06da0e5e74 GA of RuntimeClass feature gate and API 2020-11-11 19:22:32 +00:00
Andrew Sy Kim
359c6e2623 kubelet: add CredentialProviderConfig API
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-10 13:44:06 -05:00
Kubernetes Prow Robot
c84c3c4858
Merge pull request #96124 from adtac/apf1ginkgo
e2e: add APF flowcontrol request drown-out test
2020-11-09 15:14:41 -08:00
Adhityaa Chandrasekar
f79e7cde68 e2e: add APF flowcontrol request drown-out test
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-06 17:35:14 +00:00
Claudiu Belu
3f7c09e601 pause image: Disable DiagTrack service on Windows image
It has been observed that the DiagTrack service in the pause
image is consuming a non-trivial amount of CPU. We don't need
this service in the pause image, so we should disable it.

We can disable the service by running chntpw in a docker buildx Linux stage
and then copy the SYSTEM file back to the final Windows image.

Co-Authored-By: Mark Rossetti <marosset@microsoft.com>
Co-Authored-By: Davanum Srinivas <davanum@gmail.com>
2020-11-04 10:24:25 +00:00
Kubernetes Prow Robot
1ba27096ae
Merge pull request #96058 from verb/1.20-cli-debug-image-mutations
Add tests and set-image option to kubectl debug
2020-11-03 20:04:17 -08:00
Jan Chaloupka
d3726b91e2 Move pkg/kubectl/cmd/auth under staging/src/k8s.io/kubectl/pkg/cmd/auth 2020-11-03 15:34:28 +01:00
Lee Verberne
3cfcf3a74f kubectl debug: add tests for Complete,Validate 2020-11-03 07:03:52 +01:00
Kubernetes Prow Robot
0dbfe2633e
Merge pull request #95781 from ii/porter-add-verbose-flag
Add verbose flag to porter so http method can be returned to client
2020-11-02 13:41:33 -08:00
Kubernetes Prow Robot
b2e1165da8
Merge pull request #96063 from thockin/fix-96015-extra-dirs-conversion-gen
Pass all packages to conversion-gen
2020-10-31 03:38:51 -07:00
Tim Hockin
54e2748e13 Pass all packages to conversion-gen
As per #96015 and other reports, conversion-gen does the wrong thing if
dependent packages are not ALSO being re-generated.  It creates new
versions of generated files that have missing conversions.

This change passes all packages as "extras" which will be parsed but not
regenerated (default already does exactly this).
2020-10-30 22:22:57 -07:00
cici37
9465d95ea6 Move CCM to staging k8s.io/cloud-provider 2020-10-29 20:50:23 -07:00
Stephen Heywood
f005b3a5f7 Add json-response flag to porter
Provides a response that includes a body and a method. This response
will enable a client (e2e test) to confirm that a proxy did not alter
the http method.
2020-10-30 14:48:16 +13:00
Kubernetes Prow Robot
23f5fcce57
Merge pull request #95870 from claudiubelu/images/pause-regex-fix
pause image: Stricter registry prefix regex
2020-10-28 11:33:57 -07:00
Claudiu Belu
f8b70860d5 pause image: Stricter registry prefix regex 2020-10-26 07:42:49 -07:00
Kubernetes Prow Robot
0ec6602679
Merge pull request #77398 from claudiubelu/test-images/windows-support-part-2
test images: Adds Windows Container images support (part 2)
2020-10-26 06:19:02 -07:00
Kubernetes Prow Robot
68e4f1ff64
Merge pull request #91452 from claudiubelu/windows/pause-image
Add support for building Windows pause image
2020-10-23 04:05:45 -07:00
Kubernetes Prow Robot
e01e89b10d
Merge pull request #95557 from saschagrunert/chown-localtime
Make copied `localtime` file write-able
2020-10-22 22:16:29 -07:00
Kubernetes Prow Robot
163b23f163
Merge pull request #95529 from cici37/cleanup
Add back openapi gen for generic types and clean up doc.go
2020-10-20 11:22:34 -07:00
Claudiu Belu
4dbb55fe85 test images: Adds Windows support (part 2)
Adds Windows support for most of the images.

Adds a README explaining the image building process, including the
Windows Container image building process.
2020-10-19 16:54:28 +00:00
cici37
0d2002229f Add back openapi gen for generic types and clean up doc.go 2020-10-16 10:54:15 -07:00
wojtekt
3d2a80643a Fix metrics reporting in kube-apiserver 2020-10-15 13:50:33 +02:00
Sascha Grunert
b2308f1efe
Make copied localtime file write-able
Some distributions have no default write-access to this file, which
means that it's not possible to update the file and rebuild the project
if not write-able. This patch fixes this by adding an additional
`chmod`.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-10-14 13:08:57 +02:00
cici37
ae8ce0d190 Move cmd/controller-manager to k8s.io/controller-manager and cloud specific configs to k8s.io/cloud-provider. 2020-10-08 13:23:16 -07:00
Claudiu Belu
fd1e1138d6 pause image: moves wincat binary location
Co-authored-by: Ben Moss <moss.127@gmail.com>
2020-09-26 07:37:02 -07:00
Ben Moss
82ac28cc52 Adds support for building Windows pause image
We can use docker buildx in order to build and push Windows images from the same Linux
node, as long as the Dockerfile does not have any RUN commands in the Windows step.

We also need to create a non-default builder instance in order to be able to
build and push Windows images.

The Windows images have to be built and pushed directly to the registry. Because of
this, the make target "push" has been removed (the target "all" will build and push
the images).

We need wincat for a few kubectl proxy scenarios.

For Windows containers without Hyper-V isolation, the host OS Version and the
Container OS Version need to match, which is why we added multiple Windows OS Versions
to the building process.

Adds support for Windows OS Versions: 1809, 1903, 1909, 2004.

Bumps pause image version to 3.4.

Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
Co-Authored-By: Ben Moss <bmoss@pivotal.io>

Signed-off-by: Leah Hanson <lhanson@pivotal.io>
2020-09-26 06:26:24 -07:00
Kubernetes Prow Robot
cd4ee6bf9a
Merge pull request #89840 from eddiezane/ez/kubectl-396
Add get-users and delete-user to kubectl config
2020-09-24 12:21:11 -07:00
Valerii Ponomarov
c55b6cdbb4 agnhost image: use actual DNS domain instead of hardcoded cluster.local
'agnhost' image uses hardcoded 'cluster.local' value for DNS domain.
It leads to failure of a bunch of HPA tests when test cluster is
configured to use custom DNS domain and there is no alias for
default 'cluster.local' one.
So, fix it by reusing it's own function for reading DNS domain suffixes.

Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
2020-09-24 14:24:16 +03:00
Claudiu Belu
46c820e793 test images: uses nanoserver
Using Windows nanoserver container images as a base instead of the current
Windows servercore image will reduce the image size by about ~10x.

However, the nanoserver image lacks several things we need:
- netapi32.dll
- powershell
- certain powershell commands
- chocolatey cannot be used

When building the nanoserver images, we are going to use a Windows servercore helper,
in which we are going to install the necessary dependencies, and then copy them over
to our nanoserver image, including necessary DLLs.

Other notable changes include:
- switch from wget to curl (wget was a powershell alias).
- implement in code getting the DNS suffix list and DNS server list.
- reimplement getting file permissions for mounttest.
2020-09-21 04:53:44 -07:00
Stephen Augustus
06b0570444 build: Update to debian-base:buster-v1.2.0
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-17 13:06:27 -04:00
Stephen Augustus
00a07cfd86 build: Update to debian-iptables:buster-v1.3.0
- Uses iptables 1.8.5

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-17 13:06:27 -04:00
Kubernetes Prow Robot
aed5ffd195
Merge pull request #94449 from justaugustus/go115
[go1.15] Update to go1.15.2
2020-09-15 15:15:19 -07:00
David Eads
c0c033b12f generated 2020-09-14 09:24:41 -04:00
Mike Danese
bdadb2a187 make kube::util::find-binary not dependent on bazel-out/ structure
Implement an aspect that outputs go_build_mode metadata for go binaries,
and use that during binary selection.
2020-09-11 13:19:38 -07:00
Mike Danese
d182ecc1f9 output go_binary rule directly from go_binary_conditional_pure
And same for go_test_conditional_pure.

Instead of aliasing. Aliases are annoying in a number of ways. This is
specifically bugging me now because they make the action graph harder to
analyze programmatically. By using aliases here, we would need to handle
potentially aliased go_binary targets and dereference to the effective
target.

The comment references an issue with `pure = select(...)` which appears
to be resolved considering this now builds.
2020-09-11 13:19:37 -07:00
Stephen Augustus
bb1855bf11 bazel: Replace --features with Starlark build settings flag
All --features and --define flags
Deprecated in: 0.23.0
To be removed in: 0.25.0

ref: https://github.com/bazelbuild/rules_go/wiki/Deprecation-schedule

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:19:37 -07:00
Stephen Augustus
2ff22026d5 [go1.15] staging/publishing: Set default go version to go1.15.2
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:15:19 -07:00
Stephen Augustus
eb61cf27fe [go1.15] build: Use go-runner:buster-v2.0.1 (built using go1.15.1)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:15:15 -07:00
Stephen Augustus
a4a98f440c [go1.15] Update to go1.15.2
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:15:12 -07:00
Stephen Augustus
ebd8ccc6bb [go1.15] build: Update to k/repo-infra@v0.1.1 (supports go1.15.2)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:14:43 -07:00
Aaron Crickenberger
a69964e3a4 Run unit tests 2 instead of 3 times via bazel 2020-09-10 12:52:28 -07:00
Haowei Cai
769f057004 generated 2020-09-08 14:34:55 -07:00
Stephen Augustus
3ab1a49766 build/lib/release: Explicitly use '--platform' in building server images
When we switched to go-runner for building the apiserver,
controller-manager, and scheduler server components, we no longer
reference the individual architectures in the image names, specifically
in the 'FROM' directive of the server image Dockerfiles.

As a result, server images for non-amd64 images copy in the go-runner
amd64 binary instead of the go-runner that matches that architecture.

This commit explicitly sets the '--platform=linux/${arch}' to ensure
we're pulling the correct go-runner arch from the manifest list.

Before:
FROM ${base_image}

After:
FROM --platform=linux/${arch} ${base_image}

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-05 04:45:42 -04:00
Stephen Augustus
0921f645a3 build/common.sh: Remove extraneous reference to debian-base image
debian-base is no longer used for building core Kubernetes server
components, so we remove the unnecessary local variable referencing it
from kube::build::get_docker_wrapped_binaries().

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-05 04:29:14 -04:00
Jordan Liggitt
b4189f4d94 Stop ignoring unit test flakes, require multiple successful passes 2020-09-03 22:43:19 -04:00
Kubernetes Prow Robot
8da7c92a2f
Merge pull request #93975 from avr1254/master
Removed broken link to Analytics
2020-09-03 06:16:09 -07:00
Mike Danese
54955f7fa7 remove --verbose_failures from .bazelrc 2020-09-02 12:19:15 -07:00
Kubernetes Prow Robot
bdcdfe42be
Merge pull request #89582 from fedepaol/testsctppolicy
Add SCTP Network Policy tests
2020-09-02 00:41:06 -07:00
Kubernetes Prow Robot
b49724d5fc
Merge pull request #94287 from jingyih/update_etcd_server_3p4p13
Update default etcd server to 3.4.13
2020-09-01 15:35:20 -07:00
Stephen Augustus
e59d9f372d Update CNI plugins to v0.8.7
ref: https://github.com/containernetworking/plugins/releases/tag/v0.8.7

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-31 09:01:07 -04:00
Federico Paolinelli
345cab6ee9 Add tests for SCTP network policies.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-08-31 10:39:29 +02:00
Marko Mudrinić
084bc9db43
Update cri-tools to v1.19.0 2020-08-28 15:34:42 +02:00
jingyih
c96b93fbd4 Update default etcd server to 3.4.13 2020-08-28 21:19:24 +08:00
Kubernetes Prow Robot
f16da811eb
Merge pull request #94260 from jingyih/update_etcd_makefile_3p4p13
Update etcd makefile to build v3.4.13 image
2020-08-27 06:42:58 -07:00
Kubernetes Prow Robot
72f355a97e
Merge pull request #94036 from saschagrunert/bash
Use /usr/bin/env bash in Makefiles and scripts
2020-08-27 04:49:35 -07:00
jingyih
45318e8190 Update etcd makefile to build 3.4.13 image 2020-08-27 03:33:51 +08:00
Stephen Augustus
fee5b2245f build: Update to go-runner:buster-v2.0.0
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-21 14:41:40 -04:00
Stephen Augustus
b2106033b9 build: Migrate go-runner image building to k/release
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-21 14:19:52 -04:00
Benjamin Elder
3e2cb2922b synchronize agnhost image / app version 2020-08-20 17:00:41 -07:00
Benjamin Elder
9d7a94263a track agnhost version in dependencies.yaml 2020-08-20 17:00:41 -07:00
Sascha Grunert
975b8d352e
Use /usr/bin/env bash in Makefiles and scripts
This allows the execution of the Makefiles from distributions which do
have `bash` in a different path.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-16 21:13:18 +02:00
Kubernetes Prow Robot
fa1a3e0f74
Merge pull request #93665 from dims/emeritus-bgrant0607
Move bgrant0607 to emeritus status.
2020-08-14 00:48:22 -07:00
Kubernetes Prow Robot
770a59afc4
Merge pull request #93821 from dims/sign-up-dims-for-additional-review-roles
Sign up dims for additional review roles
2020-08-13 21:48:21 -07:00
Benjamin Elder
be6c81597b upgrade rules_docker 2020-08-13 16:03:10 -07:00
Arjun Ramachandrula
dcc1ab176d Removed broken link to Analytics 2020-08-13 16:03:37 -04:00
Kubernetes Prow Robot
b1d89d67a1
Merge pull request #93939 from justaugustus/go115
[go1.15] Update to go1.15
2020-08-12 14:42:28 -07:00
Kubernetes Prow Robot
6704af40d4
Merge pull request #93916 from justaugustus/base-images
build: Update to debian-base@v2.1.3 and debian-iptables@v12.1.2
2020-08-12 14:42:14 -07:00