mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Don't overly indirect image name
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
This commit is contained in:
parent
8e7b2af712
commit
529d5ba9d3
@ -132,7 +132,7 @@ func newFailAlwaysPod() *v1.Pod {
|
||||
Containers: []v1.Container{
|
||||
{
|
||||
Name: containerName,
|
||||
Image: imageutils.GetBusyBoxImageName(),
|
||||
Image: imageutils.GetE2EImage(imageutils.BusyBox),
|
||||
ImagePullPolicy: v1.PullIfNotPresent,
|
||||
},
|
||||
},
|
||||
|
@ -355,11 +355,6 @@ func GetPauseImageName() string {
|
||||
return GetE2EImage(Pause)
|
||||
}
|
||||
|
||||
// GetBusyBoxImageName returns the busybox image name with proper version
|
||||
func GetBusyBoxImageName() string {
|
||||
return GetE2EImage(BusyBox)
|
||||
}
|
||||
|
||||
// ReplaceRegistryInImageURL replaces the registry in the image URL with a custom one based
|
||||
// on the configured registries.
|
||||
func ReplaceRegistryInImageURL(imageURL string) (string, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user