mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-29 21:29:24 +00:00
e2e test harness - use busybox from dockerhub
Use the same pattern everywhere in the e2e test harness, use busybox (from dockerhub) instead of using the one from k8s.gcr.io registry. Change-Id: I57c3b867408c1f9478a8909c26744ea0368ff003
This commit is contained in:
@@ -40,6 +40,7 @@ import (
|
||||
persistentvolumeoptions "k8s.io/kubernetes/pkg/controller/volume/persistentvolume/options"
|
||||
"k8s.io/kubernetes/pkg/volume"
|
||||
volumetest "k8s.io/kubernetes/pkg/volume/testing"
|
||||
imageutils "k8s.io/kubernetes/test/utils/image"
|
||||
)
|
||||
|
||||
type testConfig struct {
|
||||
@@ -711,7 +712,7 @@ func makePod(name, ns string, pvcs []string) *v1.Pod {
|
||||
Containers: []v1.Container{
|
||||
{
|
||||
Name: "write-pod",
|
||||
Image: "k8s.gcr.io/busybox:1.24",
|
||||
Image: imageutils.GetE2EImage(imageutils.BusyBox),
|
||||
Command: []string{"/bin/sh"},
|
||||
Args: []string{"-c", "while true; do sleep 1; done"},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user