fix hypersphere apis installation

This commit is contained in:
Jeff
2019-09-27 18:18:59 +08:00
committed by zryfish
parent 106354819e
commit 69ab71d629
10 changed files with 69 additions and 38 deletions

View File

@@ -8,6 +8,8 @@ import (
apiserverconfig "kubesphere.io/kubesphere/pkg/server/config"
"kubesphere.io/kubesphere/pkg/simple/client"
"kubesphere.io/kubesphere/pkg/utils/signals"
"kubesphere.io/kubesphere/pkg/apigateway"
)
func NewAPIGatewayCommand() *cobra.Command {
@@ -25,6 +27,8 @@ Kubernetes API Server for KubeSphere authorization purpose.
return err
}
apigateway.RegisterPlugins()
return Run(signals.SetupSignalHandler())
},
}