Commit Graph

571 Commits

Author SHA1 Message Date
Joyce Kung
42f9333e7f Update debian-base image to buster-v1.8.0 2021-06-25 20:38:15 -04:00
tiloso
b22d0b13cc Fix verify staticcheck flake in cluster/images/etcd 2021-06-21 12:05:42 +02:00
Kubernetes Prow Robot
d89c11a0d4
Merge pull request #102629 from tiloso/staticcheck-cluster-apimachinery-apiserver
Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver}
2021-06-18 09:52:06 -07:00
pacoxu
4ee38f33d2 update etcd makefile to build v3.5.0 image 2021-06-16 14:41:44 +08:00
Jordan Liggitt
2979c3325e Switch to go.etcd.io/etcd/client/v3 2021-06-15 09:53:06 -04:00
Jordan Liggitt
5f1983d871 Drop etcd v2 support from etcd migration image 2021-06-15 09:53:05 -04:00
Mengjiao Liu
dc5626cc18 Upgrade debian-base to buster v1.7.1 2021-06-09 14:30:31 +08:00
tiloso
c5d70e9db1 Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver} 2021-06-05 22:15:15 +02:00
Marek Siarkowicz
82be7aad26 Update etcd makefile to build v3.5.0-rc.0 image 2021-06-04 08:31:19 +02:00
Marko Mudrinić
80fa50e0d7
Update etcd image revision
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2021-05-25 22:49:20 +02: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
Marek Siarkowicz
e862421c2b Update etcd makefile to build v3.5.0-beta.3 image 2021-05-25 15:37:22 +02:00
Kubernetes Prow Robot
fb3273774a
Merge pull request #99178 from wilsonehusin/distroless-conformance
Use distroless to build Conformance image
2021-05-21 13:32:11 -07:00
Wilson E. Husin
a893521948 Add deadline for deprecation 2021-05-06 11:44:59 -07:00
jindijamie
d1b205c9fd
Update Makefile 2021-04-12 14:32:54 -07:00
jindijamie
7e7a6284be update debian-base to buster-v1.5.0 for CVEs 2021-04-09 19:27:10 +00:00
Wilson E. Husin
998edc84c7 Use Distroless base instead of static 2021-03-12 21:37:36 -08:00
Wilson E. Husin
aeef7e2f15 Add default value to KUBE_BASE_IMAGE_REGISTRY 2021-03-12 14:59:18 -08:00
Wilson E. Husin
b1c049efd8 Use configurable BASEIMAGE and RUNNERIMAGE
Following example on /cluster/images/etcd/Makefile
2021-03-12 13:20:35 -08:00
Wilson E. Husin
00d2a17b2a Use kubeconformance binary, deprecate gorunner and run_e2e
Actual name change will take place later as it involves changes to test-infra and other repositories
2021-03-09 13:41:36 -08:00
Wilson E. Husin
be3719a357 Use distroless/base:latest for Conformance image
Going with the guess that nonroot is the problem of creating
/tmp/results/e2e.log in container

Removing manual creation of /tmp/results as well
2021-03-08 16:18:10 -08:00
Wilson E. Husin
6d52c00084 Add binaries to PATH, use ENTRYPOINT
Signed-off-by: Wilson E. Husin <wilsonehusin@gmail.com>
2021-03-08 14:51:09 -08:00
Wilson Husin
3d281e952c Add /tmp/results directory with nonroot ownership
Signed-off-by: Wilson Husin <whusin@vmware.com>
2021-03-08 14:51:09 -08:00
Wilson Husin
4fafd1afef Use distroless to build Conformance image
In order to avoid noisy / false positive CVE image scanning, Conformance
image is now be built based on Distroless.

Signed-off-by: Wilson Husin <whusin@vmware.com>
2021-03-08 14:51:08 -08:00
Benjamin Elder
56e092e382 hack/update-bazel.sh 2021-02-28 15:17:29 -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
1f27dcf70c
Merge pull request #99059 from vinayakankugoyal/dockerfile2
Use ARG and --build-arg instead of sed for etcd image.
2021-02-19 15:33:41 -08:00
Bob Killen
ffcb4b953c
cluster/images/kubemark: Remove inactive members from OWNERS
As a part of cleaning up inactive members (those with no activity within
the past 18 months) from OWNERS files, this commit moves gmarek from an
approver to an emeritus_approver.
2021-02-14 14:17:52 -05:00
Vinayak Goyal
81df4d7dc4 Use ARG and --build-arg instead of sed for etcd image. 2021-02-13 01:07:27 -08:00
Vinayak Goyal
a83519b5bf Use ARG instead of sed in the conformance image. 2021-02-12 02:55:33 -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
hasheddan
20679f31d1
Build conformance image 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:17:28 -06:00
Sascha Grunert
e9fbdff7c6
Switch to docker buildx for conformance image
The conformance test image previously used the `FROM --platform …`
syntax which is something we (SIG Release) consider as deprecated.

Therefore we now switch to `docker buildx`, which can specify the
`--platform` directly.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-01-29 11:36:52 +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
6a795f5f51 update etcd revision to 2 for next build 3.4.13-2 2021-01-26 15:29:26 +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
hasheddan
baccf02ab0
Switch to debian:stable-slim for conformance image base
The currently used debian:stretch-slim does not support s390x arch in
its multi-arch build. We opt to use stable-slim instead of pulling in
different base images for each platform build.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-01-13 08:49:27 -06:00
hasheddan
bc262d6e85
Specify BASEIMAGE platform for conformance image
Updates conformance image Dockerfile to specify platform for BASEIMAGE
and sets correct ARCH in Makefile.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-01-13 08:46:01 -06:00
Maciej Borsz
7f09d59215 Migrate etcd's livenessProbe to etcdctl endpoint health.
Change-Id: Ie19c844050c75e3d1c4b431d09ba0ac851c5317b
2020-12-11 12:43:02 +01:00
Sean McGinnis
be131457ef
Remove stale analytics links from docs
Many README files and other docs contained a link to a an appspot
tracking app that is no longer active. Following the links leads to an
error about Go 1.9 no longer being supported. Go 1.9 support was dropped
in appspot in 2019 and disabled June 2020.

This also resulted in a broken image link displaying when viewing these
files on GitHub. Since the app is no longer functioning, and since it
causes a potentially (but granted, minor) confusing error to display,
this just removes those links as I don't believe they are needed
anymore.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-11-18 07:04:48 -06:00
Ben Hu
e8fcc44286 Add client listening URLs flag to etcd migrate. 2020-10-16 23:10:54 +00:00
Stephen Augustus
c67713a1ef cluster/images/etcd: Build etcd:3.4.13-1 image
- Uses debian-base:buster-v1.2.0

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-17 13:06:27 -04: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
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
Stephen Augustus
cca9a8c320 cluster/images: Add justaugustus as reviewer
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-14 09:09:05 -04: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
Kubernetes Prow Robot
2e59a17dc1
Merge pull request #92288 from zhijianli88/cleanup-tempfiles
Cleanup tempfiles
2020-08-27 17:56:54 -07:00
jingyih
45318e8190 Update etcd makefile to build 3.4.13 image 2020-08-27 03:33:51 +08:00
Stephen Augustus
21863237a7 cluster/images/etcd: Build etcd@3.4.9-3 using debian-base@v2.1.3
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-11 23:20:06 -04:00
Stephen Augustus
876a6c85ed cluster/images/etcd: Build etcd@3.4.9-2 using debian-base@v2.1.2
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-04 01:16:57 -04:00