Integrate convertion tool to kubectl

Added 'convert' subcommand to kubectl to convert config files
between different API versions.
This commit is contained in:
hurf
2015-07-16 17:20:53 +08:00
parent 86fdc3f85c
commit e1b88c6942
43 changed files with 557 additions and 33 deletions

View File

@@ -174,6 +174,7 @@ Find more information at https://github.com/kubernetes/kubernetes.`,
cmds.AddCommand(NewCmdApiVersions(f, out))
cmds.AddCommand(NewCmdVersion(f, out))
cmds.AddCommand(NewCmdExplain(f, out))
cmds.AddCommand(NewCmdConvert(f, out))
return cmds
}