Merge pull request #81443 from mikedanese/socks5

rest.Config: support configuring an explict proxy URL
This commit is contained in:
Kubernetes Prow Robot
2020-05-10 06:05:50 -07:00
committed by GitHub
19 changed files with 309 additions and 43 deletions

View File

@@ -1034,7 +1034,7 @@ func TestServeExecInContainerIdleTimeout(t *testing.T) {
url := fw.testHTTPServer.URL + "/exec/" + podNamespace + "/" + podName + "/" + expectedContainerName + "?c=ls&c=-a&" + api.ExecStdinParam + "=1"
upgradeRoundTripper := spdy.NewSpdyRoundTripper(nil, true, true)
upgradeRoundTripper := spdy.NewRoundTripper(nil, true, true)
c := &http.Client{Transport: upgradeRoundTripper}
resp, err := c.Do(makeReq(t, "POST", url, "v4.channel.k8s.io"))