Merge pull request #25 from skeeey/rename-component

Use a specific name for registration components
This commit is contained in:
OpenShift Merge Robot
2020-05-11 16:58:12 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ import (
func NewController() *cobra.Command {
cmd := controllercmd.
NewControllerCommandConfig("controller", version.Get(), hub.RunControllerManager).
NewControllerCommandConfig("registration-controller", version.Get(), hub.RunControllerManager).
NewCommand()
cmd.Use = "controller"
cmd.Short = "Start the Cluster Registration Controller"

View File

@@ -12,7 +12,7 @@ import (
func NewAgent() *cobra.Command {
agentOptions := spoke.NewSpokeAgentOptions()
cmd := controllercmd.
NewControllerCommandConfig("agent", version.Get(), agentOptions.RunSpokeAgent).
NewControllerCommandConfig("registration-agent", version.Get(), agentOptions.RunSpokeAgent).
NewCommand()
cmd.Use = "agent"
cmd.Short = "Start the Cluster Registration Agent"