Skip to content

Commit a7b3760

Browse files
committed
[kc] insecure skip verify server
1 parent f49fbc1 commit a7b3760

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/kube-controller/apiserviceproxy/apiservice.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ func (p *APIServiceProxy) Run(ctx context.Context) error {
7373
Addr: fmt.Sprintf(":%d", DefaultPort),
7474
Handler: p.proxy,
7575
TLSConfig: &tls.Config{
76-
Certificates: []tls.Certificate{p.cert},
77-
ClientCAs: p.certPool,
78-
ClientAuth: tls.RequireAndVerifyClientCert,
76+
Certificates: []tls.Certificate{p.cert},
77+
ClientCAs: p.certPool,
78+
InsecureSkipVerify: true,
7979
},
8080
}
8181

0 commit comments

Comments
 (0)