mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +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{
|
||||
DesiredState: api.PodState{
|
||||
Manifest: api.ContainerManifest{
|
||||
Version: "v1beta2",
|
||||
Containers: []api.Container{
|
||||
{
|
||||
Name: name,
|
||||
Name: strings.ToLower(name),
|
||||
Image: image,
|
||||
Ports: makePorts(portSpec),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user