mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #95672 from aojea/fixdnse2e
e2e don't use hardcoded name for containers name
This commit is contained in:
commit
b206f6695f
@ -128,7 +128,7 @@ func (t *dnsTestCommon) runDig(dnsName, target string) []string {
|
|||||||
Command: cmd,
|
Command: cmd,
|
||||||
Namespace: t.f.Namespace.Name,
|
Namespace: t.f.Namespace.Name,
|
||||||
PodName: t.utilPod.Name,
|
PodName: t.utilPod.Name,
|
||||||
ContainerName: "util",
|
ContainerName: t.utilPod.Spec.Containers[0].Name,
|
||||||
CaptureStdout: true,
|
CaptureStdout: true,
|
||||||
CaptureStderr: true,
|
CaptureStderr: true,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user