Merge pull request #134757 from neolit123/1.35-fix-e2e-test-hostname-override

/test: use a different image for hostname override e2e tests
This commit is contained in:
Kubernetes Prow Robot 2025-10-22 17:38:45 -07:00 committed by GitHub
commit 905d72b9bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ func newTestPod(namespace string) *v1.Pod {
Containers: []v1.Container{
{
Name: "test-pod-hostname-override",
Image: imageutils.GetE2EImage(imageutils.Agnhost),
Image: imageutils.GetE2EImage(imageutils.JessieDnsutils),
Command: []string{"sh", "-c", "echo $(hostname)';'$(hostname -f)';'"},
},
},

View file

@ -63,7 +63,7 @@ func testPod(podnamebase string) *v1.Pod {
Containers: []v1.Container{
{
Name: "test-container",
Image: imageutils.GetE2EImage(imageutils.BusyBox),
Image: imageutils.GetE2EImage(imageutils.JessieDnsutils),
},
},
RestartPolicy: v1.RestartPolicyNever,