mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 01:50:55 +00:00
AbsPath should be compatible with proxy-prefixes:
- replace Config.Prefix with .Host and .APIPath - Request .path promoted to .pathPrefix, .baseURL holds required prefix
This commit is contained in:
@@ -203,7 +203,6 @@ var _ = Describe("Kubectl client", func() {
|
||||
Failf("Unable to parse URL %s. Error=%s", apiServer, err)
|
||||
}
|
||||
apiServerUrl.Scheme = "https"
|
||||
apiServerUrl.Path = "/api"
|
||||
if !strings.Contains(apiServer, ":443") {
|
||||
apiServerUrl.Host = apiServerUrl.Host + ":443"
|
||||
}
|
||||
|
Reference in New Issue
Block a user