@@ -141,7 +141,7 @@ func checkExec(c internalapi.RuntimeService, execServerURL string) {
141
141
// Only http is supported now.
142
142
// TODO: support streaming APIs via tls.
143
143
url := parseURL (c , execServerURL )
144
- e , err := remoteclient .NewSPDYExecutor (& rest.Config {}, "POST" , url )
144
+ e , err := remoteclient .NewSPDYExecutor (& rest.Config {TLSClientConfig : rest. TLSClientConfig { Insecure : true } }, "POST" , url )
145
145
framework .ExpectNoError (err , "failed to create executor for %q" , execServerURL )
146
146
147
147
err = e .Stream (remoteclient.StreamOptions {
@@ -232,7 +232,7 @@ func checkAttach(c internalapi.RuntimeService, attachServerURL string) {
232
232
// Only http is supported now.
233
233
// TODO: support streaming APIs via tls.
234
234
url := parseURL (c , attachServerURL )
235
- e , err := remoteclient .NewSPDYExecutor (& rest.Config {}, "POST" , url )
235
+ e , err := remoteclient .NewSPDYExecutor (& rest.Config {TLSClientConfig : rest. TLSClientConfig { Insecure : true } }, "POST" , url )
236
236
framework .ExpectNoError (err , "failed to create executor for %q" , attachServerURL )
237
237
238
238
err = e .Stream (remoteclient.StreamOptions {
@@ -264,7 +264,7 @@ func checkPortForward(c internalapi.RuntimeService, portForwardSeverURL string)
264
264
readyChan := make (chan struct {})
265
265
defer close (stopChan )
266
266
267
- transport , upgrader , err := spdy .RoundTripperFor (& rest.Config {})
267
+ transport , upgrader , err := spdy .RoundTripperFor (& rest.Config {TLSClientConfig : rest. TLSClientConfig { Insecure : true } })
268
268
framework .ExpectNoError (err , "failed to create spdy round tripper" )
269
269
url := parseURL (c , portForwardSeverURL )
270
270
dialer := spdy .NewDialer (upgrader , & http.Client {Transport : transport }, "POST" , url )
0 commit comments