mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Merge pull request #574 from brendandburns/run
Add a name to containers created by RunController so that validation works
This commit is contained in:
commit
212b8f6145
@ -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