mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-22 17:14:10 +00:00
Add spoke operator
This commit is contained in:
@@ -9,10 +9,10 @@ import (
|
||||
"github.com/open-cluster-management/nucleus/pkg/version"
|
||||
)
|
||||
|
||||
// NewOperator generatee a command to start workload agent
|
||||
// NewOperatorCmd generatee a command to start workload agent
|
||||
func NewOperatorCmd() *cobra.Command {
|
||||
cmd := controllercmd.
|
||||
NewControllerCommandConfig("operator", version.Get(), operators.RunNucleusOperator).
|
||||
NewControllerCommandConfig("nucleus-operator", version.Get(), operators.RunNucleusOperator).
|
||||
NewCommand()
|
||||
cmd.Use = "operator"
|
||||
cmd.Short = "Start the nucleus operator"
|
||||
|
||||
Reference in New Issue
Block a user