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
Maciej Szulik
3edabfb460
Switch to a proper busybox test image
2021-04-20 22:05:31 +02:00
Maciej Szulik
89b50bcf94
Fail fast when image is specified w/o tag
2021-04-20 21:10:16 +02: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
Maciej Szulik
8acab3cc49
Limit image spec's hash length
...
To be able to properly limit the length of hash string we should limit
after encoding to base, not before.
2021-04-15 16:14:45 +02:00
jindijamie
7e7a6284be
update debian-base to buster-v1.5.0 for CVEs
2021-04-09 19:27:10 +00: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
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
James Sturtevant
a8eff25ff3
update busybox that includes windows nltest
2021-03-18 12:03:56 -07:00
Carlos Panato
c0e61e95a0
revert removal of gcr.io/gke-release from pr 100179
2021-03-16 16:30:18 +01:00
Kubernetes Prow Robot
9657dd77a3
Merge pull request #100179 from cpanato/GH-1525-gke
...
test: remove gcr.io/gke-release since it is deprecated
2021-03-14 23:49:04 -07:00
Kubernetes Prow Robot
e814c55e78
Merge pull request #100121 from pacoxu/e2e-volume-registry/cleanup
...
remove e2e volume registry as it is not used
2021-03-14 18:43:04 -07:00
Carlos Panato
bd32786b20
test: remove gcr.io/gke-release since it is deprecated
2021-03-12 14:35:10 +01:00
pacoxu
59d96263e4
remove e2e volume registry as it is not used
2021-03-11 15:54:33 +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
Claudiu Belu
a391f44d86
tests: Uses newly promoted httpd and nginx images
...
The new images contain a few Windows fixes required to run properly.
2021-02-20 12:18:08 -08:00
Ernest Wong
b86b78917c
Partially revert "tests: Switch dockerhub registry images to promoted registry"
...
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-02-19 14:46:27 -08:00
Claudiu Belu
d56e21c579
tests: Updates resource-consumer to 1.9 in tests
...
``resource-consumer:1.9`` also includes Windows support.
2021-02-11 19:16:07 -08:00
Kubernetes Prow Robot
2a461afa29
Merge pull request #99131 from chewong/fix-gc-etcd-registry
...
test images: assign gcEtcdRegistry to the correct value
2021-02-16 16:39:27 -08:00
Ernest Wong
7a1f96a4af
test images: assign gcEtcdRegistry to the correct value
...
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-02-16 10:49:39 -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
Claudiu Belu
3945c8972c
tests: Switch dockerhub registry images to promoted registry
...
Due to the dockerhub rate limiting, we had to find an alternative solution. We've mirrored the dockerhub
images into our own.
Additionally, our own busybox, httpd, and nginx images also have Windows support.
2021-02-08 08:01:04 -08:00
Claudiu Belu
6b090886de
tests: Separate registry configuration for etcd image
...
Current gcRegistry configuration is responsible for both etcd and pause images. We should
use the upstream pause image in testing.
The etcd image doesn't have Windows support yet, so we need to have a separate configuration
for it.
2021-02-07 06:20:14 -08:00
pacoxu
0c152cbbbe
update pause to 3.4.1 for tests(e2e)
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-05 21:32:53 +08:00
Kubernetes Prow Robot
eb2b71c727
Merge pull request #98320 from chewong/use-promoted-images
...
test images: use recently promoted images
2021-01-28 17:00:41 -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
Ernest Wong
40713f7666
test images: use recently promoted images
...
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-01-28 10:09:00 -08: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
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
Ernest Wong
886a01c8a3
test images: use promoted kitten 1.4 and nautilus 1.4
...
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-01-21 12:53:23 -05:00
Kubernetes Prow Robot
e99f60f59b
Merge pull request #95351 from aojea/conntrack_invalid2
...
Support IPv6 on the e2e test ""should resolve connection reset issue #74839 "
2021-01-20 02:17:59 -08:00
Antonio Ojea
44653fc21b
bump agnhost to 2.26
2021-01-15 16:21:31 +01:00
Antonio Ojea
67e2c37440
Use new image for e2e regression test
2021-01-13 11:02:58 +01:00
Clayton Coleman
386f94ff03
test/utils/image: Support a single repository
...
In downstream contexts, it's extremely useful to be able to combine
all the "testable" images in Kubernetes into a single repo so that
a user could mirror these offline in one chunk, and audit the set of
images for changes. For instance, within OpenShift we would like to
have a single place we can place all the images used by all the tests
with a single authentication scheme. While some images are not "real"
and can't be mirrored (for instance, the images that point to an
auth protected registry), that is not the majority.
This code makes it possible to specify an environment variable
KUBE_TEST_REPO that maps the static strings of the registry to a
single repository by placing the uniqueness in a tag. For instance:
KUBE_TEST_REPO=quay.io/openshift/community-e2e-images
would translate `k8s.gcr.io/prometheus-to-sd:v0.5.0` to `quay.io/openshift/community-e2e-images:e2e-30-k8s-gcr-io-prometheus-to-sd-v0-5-0-6JI59Yih4oaj3oQOjRfhyQ`.
The tag is a safe form of the name, plus the index (the constant within
manifest.go), plus a hash of the full input. The length of the tag is
constrained to the minimum of hash + index + the safe name.
The public method is changed to return two maps - index to original
name and index to test repo name. These maps would be the same if
the env var is not set.
2021-01-12 15:22:30 -05:00
Kerstin08
dc86fb9390
Add e2e test for windows device manager
2020-12-16 00:30:05 -05:00
Niels de Vos
00b6d7ccee
e2e: add option to create pods with different image in pod.Config
...
For testing certain features, the BusyBox image does not provide all the
tools that are needed. Notably 'dd' from BusyBox does not support
direct-io that is required for skipping caches while doing writes and
reads on a Block-mode PVC attached to different nodes.
2020-09-25 11:01:59 +02: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
bdcdfe42be
Merge pull request #89582 from fedepaol/testsctppolicy
...
Add SCTP Network Policy tests
2020-09-02 00:41:06 -07: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
jingyih
c96b93fbd4
Update default etcd server to 3.4.13
2020-08-28 21:19:24 +08:00
Stephen Augustus
13f1a90f74
build: Update to debian-base@v2.1.3 and debian-iptables@v12.1.2
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-11 23:17:26 -04:00
Kubernetes Prow Robot
35c8fece86
Merge pull request #93521 from msau42/update-registry
...
Update e2e csi images to k8s.gcr.io
2020-08-11 17:57:46 -07:00
Stephen Augustus
87e13f7665
build: Update to debian-base@v2.1.0 and debian-iptables@v12.1.1
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-04 01:15:24 -04:00
Michelle Au
ab5b3e256b
Update e2e csi images to k8s.gcr.io
...
Change-Id: Ic6c3f805aab1647f01f40fee725d6e8be992d04e
2020-08-03 17:04:21 -07:00
Stephen Augustus
99dd7570eb
[VDF] Remove references to gcr.io/google-containers
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-22 16:10:12 -04:00
Stephen Augustus
90c223fa5c
[VDF] Remove references to us.gcr.io/k8s-artifacts-prod
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-22 16:08:30 -04:00
Kubernetes Prow Robot
f9ad7db9a6
Merge pull request #92349 from jingyih/update_etcd_server_3p4p9
...
Update default etcd server to 3.4.9
2020-07-17 07:53:01 -07:00