alter install.go
This commit is contained in:
@@ -21,6 +21,7 @@ import (
|
|||||||
"kubesphere.io/kubesphere/pkg/apis/v1alpha/nodes"
|
"kubesphere.io/kubesphere/pkg/apis/v1alpha/nodes"
|
||||||
"kubesphere.io/kubesphere/pkg/apis/v1alpha/kubeconfig"
|
"kubesphere.io/kubesphere/pkg/apis/v1alpha/kubeconfig"
|
||||||
"kubesphere.io/kubesphere/pkg/apis/v1alpha/kubectl"
|
"kubesphere.io/kubesphere/pkg/apis/v1alpha/kubectl"
|
||||||
|
"kubesphere.io/kubesphere/pkg/apis/v1alpha/registries"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@@ -31,6 +32,7 @@ func init() {
|
|||||||
nodes.Register(ws,"/nodes")
|
nodes.Register(ws,"/nodes")
|
||||||
kubeconfig.Register(ws, "/namespaces/{namespace}/kubeconfig")
|
kubeconfig.Register(ws, "/namespaces/{namespace}/kubeconfig")
|
||||||
kubectl.Register(ws, "/namespaces/{namespace}/kubectl")
|
kubectl.Register(ws, "/namespaces/{namespace}/kubectl")
|
||||||
|
registries.Register(ws,"/registries")
|
||||||
|
|
||||||
// add webservice to default container
|
// add webservice to default container
|
||||||
restful.Add(ws)
|
restful.Add(ws)
|
||||||
|
|||||||
Reference in New Issue
Block a user