fix: Skip TLS certificate verification for HTTPS upstreams (#3770)

Signed-off-by: CH3CHO <ch3cho@qq.com>
This commit is contained in:
Kent Dong
2026-04-29 17:15:54 +08:00
committed by GitHub
parent 9b9f6b900a
commit 74c68180c8
2 changed files with 11 additions and 1 deletions

View File

@@ -170,6 +170,9 @@ func processMTLS(config *Ingress) *networking.ClientTLSSettings {
func processSimple(config *Ingress) *networking.ClientTLSSettings {
tls := &networking.ClientTLSSettings{
Mode: networking.ClientTLSSettings_SIMPLE,
InsecureSkipVerify: &wrappers.BoolValue{
Value: true,
},
}
if config.UpstreamTLS.EnableSNI && config.UpstreamTLS.SNI != "" {