mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Fix wrong command in e2e agnhost utility function
The `Command` will cause the container process not starting correctly, so we now use the `Args` to end up running `/agnhost pause` as intended. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
parent
3a50184421
commit
c8b656db50
@ -475,9 +475,9 @@ func ProxyMode(f *Framework) (string, error) {
|
|||||||
HostNetwork: true,
|
HostNetwork: true,
|
||||||
Containers: []v1.Container{
|
Containers: []v1.Container{
|
||||||
{
|
{
|
||||||
Name: "detector",
|
Name: "detector",
|
||||||
Image: AgnHostImage,
|
Image: AgnHostImage,
|
||||||
Command: []string{"pause"},
|
Args: []string{"pause"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user