e2e: replace ubuntu-slim with agnhost in hpa cm noExporterDeployment

This commit is contained in:
Piotr Betkier 2023-05-17 11:19:23 +02:00
parent c99cf53a10
commit 763e7923fb

View File

@ -639,10 +639,10 @@ func noExporterDeployment(name, namespace string, replicas int32) *appsv1.Deploy
d.Spec.Template.Spec = v1.PodSpec{Containers: []v1.Container{ d.Spec.Template.Spec = v1.PodSpec{Containers: []v1.Container{
{ {
Name: "sleeper", Name: "sleeper",
Image: "k8s.gcr.io/ubuntu-slim:0.1", Image: "registry.k8s.io/e2e-test-images/agnhost:2.40",
ImagePullPolicy: v1.PullAlways, ImagePullPolicy: v1.PullAlways,
Command: []string{"/bin/sh"}, Command: []string{"/agnhost"},
Args: []string{"-c", "sleep 1d"}, // effectively forever Args: []string{"pause"}, // do nothing forever
}, },
}} }}
return d return d