Add alternative names for the server binaries to hyperkube

This commit is contained in:
Lucas Käldström
2017-02-06 17:05:42 +02:00
parent 09cb6ee193
commit e2f829418e
7 changed files with 21 additions and 11 deletions

View File

@@ -27,8 +27,10 @@ func NewKubeControllerManager() *Server {
s := options.NewCMServer()
hks := Server{
SimpleUsage: "controller-manager",
Long: "A server that runs a set of active components. This includes replication controllers, service endpoints and nodes.",
name: "controller-manager",
AlternativeName: "kube-controller-manager",
SimpleUsage: "controller-manager",
Long: "A server that runs a set of active components. This includes replication controllers, service endpoints and nodes.",
Run: func(_ *Server, args []string) error {
return app.Run(s)
},