add IAM API

This commit is contained in:
hongming
2018-05-31 21:15:08 +08:00
parent 5c223fced9
commit 85f3a83e8f
5 changed files with 1026 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ import (
"kubesphere.io/kubesphere/pkg/apis/v1alpha/registries"
"kubesphere.io/kubesphere/pkg/apis/v1alpha/storage"
"kubesphere.io/kubesphere/pkg/apis/v1alpha/volumes"
"kubesphere.io/kubesphere/pkg/apis/v1alpha/iam"
)
func init() {
@@ -41,6 +42,7 @@ func init() {
nodes.Register(ws, "/nodes")
pods.Register(ws)
containers.Register(ws)
iam.Register(ws)
// add webservice to default container
restful.Add(ws)