move agent crd to kubesphere (#1974)

This commit is contained in:
zryfish
2020-03-29 16:49:11 +08:00
committed by GitHub
parent 96ddf4cfa0
commit 7121e3609c
30 changed files with 1278 additions and 32 deletions

View File

@@ -126,8 +126,6 @@ func (r *RequestInfoFactory) NewRequestInfo(req *http.Request) (*RequestInfo, er
if currentParts[0] == "clusters" {
requestInfo.Cluster = currentParts[1]
currentParts = currentParts[2:]
} else if len(currentParts) > 0 {
requestInfo.Cluster = "host-cluster"
}
if currentParts[0] == "workspaces" {