Merge pull request #576 from brendandburns/run

Actually fix kubecfg.
This commit is contained in:
brendandburns 2014-07-22 23:53:47 -07:00
commit b98b8295f4

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),
},