Skip to content

Commit 6b0fe15

Browse files
committed
remove socks proxy rejectUnauthorized
1 parent c7fb1e4 commit 6b0fe15

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ export class KubeConfig implements SecurityAuthentication {
254254

255255
if (cluster && cluster.proxyUrl) {
256256
if (cluster.proxyUrl.startsWith('socks')) {
257-
agentOptions.rejectUnauthorized = false;
258257
agent = new SocksProxyAgent(cluster.proxyUrl, agentOptions);
259258
} else if (cluster.server.startsWith('https')) {
260259
const httpsProxyAgentOptions: HttpsProxyAgentOptions = agentOptions as HttpsProxyAgentOptions;

0 commit comments

Comments
 (0)