Commit c3f31378 authored by Brendan Burns's avatar Brendan Burns

Actually fix kubecfg.

parent 212b8f61
...@@ -166,9 +166,10 @@ func RunController(image, name string, replicas int, client client.Interface, po ...@@ -166,9 +166,10 @@ func RunController(image, name string, replicas int, client client.Interface, po
PodTemplate: api.PodTemplate{ PodTemplate: api.PodTemplate{
DesiredState: api.PodState{ DesiredState: api.PodState{
Manifest: api.ContainerManifest{ Manifest: api.ContainerManifest{
Version: "v1beta2",
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: name, Name: strings.ToLower(name),
Image: image, Image: image,
Ports: makePorts(portSpec), Ports: makePorts(portSpec),
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment