Switch to a proper busybox test image

This commit is contained in:
Maciej Szulik 2021-04-20 21:11:35 +02:00
parent 89b50bcf94
commit 3edabfb460
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4
2 changed files with 3 additions and 1 deletions

View File

@ -73,7 +73,7 @@ spec:
# test for directories or create them. It needs additional privileges
# for that.
- name: busybox
image: k8s.gcr.io/busybox
image: k8s.gcr.io/e2e-test-images/busybox:1.29-1
securityContext:
privileged: true
command:

View File

@ -387,6 +387,8 @@ func ReplaceRegistryInImageURL(imageURL string) (string, error) {
switch registryAndUser {
case "gcr.io/kubernetes-e2e-test-images":
registryAndUser = e2eRegistry
case "k8s.gcr.io/e2e-test-images":
registryAndUser = promoterE2eRegistry
case "k8s.gcr.io":
registryAndUser = gcRegistry
case "k8s.gcr.io/sig-storage":