Actually fix kubecfg.

This commit is contained in:
Brendan Burns 2014-07-22 23:40:55 -07:00
parent 212b8f6145
commit c3f313784d

View File

@ -166,9 +166,10 @@ func RunController(image, name string, replicas int, client client.Interface, po
PodTemplate: api.PodTemplate{
DesiredState: api.PodState{
Manifest: api.ContainerManifest{
Version: "v1beta2",
Containers: []api.Container{
{
Name: name,
Name: strings.ToLower(name),
Image: image,
Ports: makePorts(portSpec),
},