add route

This commit is contained in:
jeff
2018-06-03 19:36:01 +08:00
parent 40a0be0836
commit a64153b1c7
18 changed files with 1091 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ import (
"kubesphere.io/kubesphere/pkg/apis/v1alpha/volumes"
"kubesphere.io/kubesphere/pkg/apis/v1alpha/iam"
"kubesphere.io/kubesphere/pkg/apis/v1alpha/components"
"kubesphere.io/kubesphere/pkg/apis/v1alpha/routes"
)
func init() {
@@ -45,6 +46,9 @@ func init() {
containers.Register(ws)
iam.Register(ws)
components.Register(ws,"/components")
routes.Register(ws)
// add webservice to default container
restful.Add(ws)