mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +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{
|
||||
Containers: []api.Container{
|
||||
{
|
||||
Name: name,
|
||||
Image: image,
|
||||
Ports: makePorts(portSpec),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user