Merge pull request #17 from littlebeer2100/addreg

alter install.go
This commit is contained in:
alex.fan
2018-05-22 15:27:11 +08:00
committed by GitHub

View File

@@ -21,6 +21,7 @@ import (
"kubesphere.io/kubesphere/pkg/apis/v1alpha/nodes"
"kubesphere.io/kubesphere/pkg/apis/v1alpha/kubeconfig"
"kubesphere.io/kubesphere/pkg/apis/v1alpha/kubectl"
"kubesphere.io/kubesphere/pkg/apis/v1alpha/registries"
)
func init() {
@@ -31,6 +32,7 @@ func init() {
nodes.Register(ws,"/nodes")
kubeconfig.Register(ws, "/namespaces/{namespace}/kubeconfig")
kubectl.Register(ws, "/namespaces/{namespace}/kubectl")
registries.Register(ws,"/registries")
// add webservice to default container
restful.Add(ws)