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