@@ -4,14 +4,13 @@ import (
44 "fmt"
55 "strings"
66
7- "github.com/sirupsen/logrus"
8-
97 "git.containerum.net/ch/kube-client/pkg/model"
108 "github.com/containerum/chkit/pkg/chkitErrors"
119 "github.com/containerum/chkit/pkg/model/container"
1210 "github.com/containerum/chkit/pkg/util/activeToolkit"
1311 "github.com/containerum/chkit/pkg/util/namegen"
1412 "github.com/containerum/chkit/pkg/util/validation"
13+ "github.com/sirupsen/logrus"
1514 "k8s.io/apimachinery/pkg/api/resource"
1615)
1716
@@ -58,7 +57,7 @@ func getContainers(containers []container.Container) []container.Container {
5857 containersOptions := append (containerNames ,
5958 "Add new container" ,
6059 "Delete container" ,
61- "Exit " )
60+ "Return to deployment menu " )
6261 _ , option , _ := activeToolkit .Options ("What do you want?" , false ,
6362 containersOptions ... )
6463 logrus .Debugf ("option %d in %d %+v" , option , len (containersOptions ), containersOptions )
@@ -87,8 +86,8 @@ func getContainers(containers []container.Container) []container.Container {
8786 Name : namegen .Aster () + "-" + namegen .Color (),
8887 Image : "unknown (required)" ,
8988 Limits : model.Resource {
90- Memory : "" ,
91- CPU : "" ,
89+ Memory : "256Mi " ,
90+ CPU : "200m " ,
9291 },
9392 Ports : []model.ContainerPort (nil ),
9493 },
0 commit comments