Commit 6cd03ab8 authored by Shyam Jeedigunta's avatar Shyam Jeedigunta

Fix TLS config in load test clients

parent bb9a12d6
......@@ -377,9 +377,13 @@ func createClients(numberOfClients int) ([]clientset.Interface, []internalclient
KeepAlive: 30 * time.Second,
}).DialContext,
})
config.WrapTransport = transportConfig.WrapTransport
config.Dial = transportConfig.Dial
// Overwrite TLS-related fields from config to avoid collision with
// Transport field.
config.TLSClientConfig = restclient.TLSClientConfig{}
config.AuthProvider = nil
config.ExecProvider = nil
c, err := clientset.NewForConfig(config)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment