mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
Actually fix kubecfg.
This commit is contained in:
parent
212b8f6145
commit
c3f313784d
@ -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),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user