mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
Add a name to containers created by RunController so that validation works.
This commit is contained in:
parent
ec0f639a21
commit
fcb9201c3b
@ -168,6 +168,7 @@ func RunController(image, name string, replicas int, client client.Interface, po
|
|||||||
Manifest: api.ContainerManifest{
|
Manifest: api.ContainerManifest{
|
||||||
Containers: []api.Container{
|
Containers: []api.Container{
|
||||||
{
|
{
|
||||||
|
Name: name,
|
||||||
Image: image,
|
Image: image,
|
||||||
Ports: makePorts(portSpec),
|
Ports: makePorts(portSpec),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user