1. refactor kubesphere dependency service client creation, we can disable dependency by config 2. dependencies can be configured by configuration file 3. refactor cmd package using cobra.Command, so we can use hypersphere to invoke command sepearately. Later we only need to build one image to contains all kubesphere core components. One command to rule them all! 4. live reloading configuration currently not implemented
15 lines
209 B
Go
15 lines
209 B
Go
package main
|
|
|
|
import (
|
|
"kubesphere.io/kubesphere/cmd/controller-manager/app"
|
|
"os"
|
|
)
|
|
|
|
func main() {
|
|
command := app.NewControllerManagerCommand()
|
|
|
|
if err := command.Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|