Don't overly indirect image name

Signed-off-by: Laura Lorenz <lauralorenz@google.com>
This commit is contained in:
Laura Lorenz 2024-11-12 23:34:57 +00:00
parent 8e7b2af712
commit 529d5ba9d3
2 changed files with 1 additions and 6 deletions

View File

@ -132,7 +132,7 @@ func newFailAlwaysPod() *v1.Pod {
Containers: []v1.Container{
{
Name: containerName,
Image: imageutils.GetBusyBoxImageName(),
Image: imageutils.GetE2EImage(imageutils.BusyBox),
ImagePullPolicy: v1.PullIfNotPresent,
},
},

View File

@ -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) {