![]() Automatic merge from submit-queue (batch tested with PRs 41758, 44137) Updated key.pm and cert.pm to remove error in setting up localhostCert pool. Signed-off-by: Abhishek Dasgupta <a10gupta@linux.vnet.ibm.com> Errors like following are coming while running `make test` with Go1.8: ``` === RUN TestProxyUpgrade 2017/02/16 06:36:19 http: TLS handshake error from 127.0.0.1:36740: tls: no cipher suite supported by both client and server 2017/02/16 06:36:19 http: panic serving 127.0.0.1:46266: runtime error: invalid memory address or nil pointer dereference goroutine 31 [running]: net/http.(*conn).serve.func1(0xc420213ea0) /usr/local/go/src/net/http/server.go:1721 +0xb0 panic(0x703e00, 0xc05b00) /usr/local/go/src/runtime/panic.go:489 +0x284 k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/registry/generic/rest.(*UpgradeAwareProxyHandler).tryUpgrade(0xc42034b0e0, 0xbbba60, 0xc4203f81c0, 0xc42043b300, 0xc4200a1b00) /root/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/registry/generic/rest/proxy.go:155 +0x4d8 k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/registry/generic/rest.(*UpgradeAwareProxyHandler).ServeHTTP(0xc42034b0e0, 0xbbba60, 0xc4203f81c0, 0xc42043b300) /root/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/registry/generic/rest/proxy.go:86 +0x7c net/http.serverHandler.ServeHTTP(0xc4203ac370, 0xbbba60, 0xc4203f81c0, 0xc42043b300) /usr/local/go/src/net/http/server.go:2568 +0x90 net/http.(*conn).serve(0xc420213ea0, 0xbbc9a0, 0xc4202e9ec0) /usr/local/go/src/net/http/server.go:1825 +0x514 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2668 +0x254 --- FAIL: TestProxyUpgrade (0.01s) proxy_test.go:347: error setting up localhostCert pool proxy_test.go:377: https (valid hostname): proxy_test: x509: RSA key missing NULL parameters proxy_test.go:441: https (valid hostname + RootCAs): websocket dial err: websocket.Dial ws://127.0.0.1:45249/some/path: unexpected EOF ``` This PR is resolving similar errors through updating Certificate and Key variables. |
||
---|---|---|
.. | ||
src/k8s.io | ||
README.md | ||
copy.sh | ||
godeps-json-updater.go | ||
prime-apimachinery.sh |
README.md
This staging/src/k8s.io/client-go directory is the staging area of the client repo. It contains a versioned client, tools built around the client like the reflector, and all the client dependencies. The content will be periodically published to k8s.io/client-go repo.
The staged content is copied from the main repo, i.e., k8s.io/kubernetes, with directory rearrangement and necessary rewritings. To sync the content with the latest code in your local k8s.io/kubernetes, you need to run godep restore
in k8s root directory, then run staging/copy.sh.
vendor/k8s.io/client-go is a symlink pointing to this staging area, so to use the packages in the staging area, you can import it as "vendor/client-go/", as if the client were vendored. The client will be vendored from k8s.io/client-go for real after the test matrix is converted to vendor k8s components.