Make deployment the default controller, create -rc for rc, and enable copying all types of controller to chart templates

This commit is contained in:
Janet Kuo
2016-07-12 19:53:20 -07:00
parent 8871baf9be
commit 0bcec2aa23
3 changed files with 42 additions and 16 deletions
+6 -2
View File
@@ -41,14 +41,18 @@ func ConvertCommand(factory app.ProjectFactory) cli.Command {
EnvVar: "OUTPUT_FILE",
},
// TODO: validate the flags and make sure only one type is specified
cli.BoolFlag{
cli.BoolTFlag{
Name: "deployment,d",
Usage: "Generate a deployment resource file",
Usage: "Generate a deployment resource file (default on)",
},
cli.BoolFlag{
Name: "daemonset,ds",
Usage: "Generate a daemonset resource file",
},
cli.BoolFlag{
Name: "replicationcontroller,rc",
Usage: "Generate a replicationcontroller file",
},
cli.BoolFlag{
Name: "replicaset,rs",
Usage: "Generate a replicaset resource file",