mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
sql: support the no-tls option in the socks proxy (#80376)
postgres: support the no-tls option in the socks proxy
This commit is contained in:
parent
7452fe92de
commit
cfddc67a25
@ -13,11 +13,12 @@ func GetSQLProxyOptions(cfg setting.SecureSocksDSProxySettings, dsInfo sqleng.Da
|
||||
Username: dsInfo.UID,
|
||||
},
|
||||
ClientCfg: &sdkproxy.ClientCfg{
|
||||
ClientCert: cfg.ClientCert,
|
||||
ClientKey: cfg.ClientKey,
|
||||
ServerName: cfg.ServerName,
|
||||
RootCA: cfg.RootCA,
|
||||
ProxyAddress: cfg.ProxyAddress,
|
||||
ClientCert: cfg.ClientCert,
|
||||
ClientKey: cfg.ClientKey,
|
||||
ServerName: cfg.ServerName,
|
||||
RootCA: cfg.RootCA,
|
||||
ProxyAddress: cfg.ProxyAddress,
|
||||
AllowInsecure: cfg.AllowInsecure,
|
||||
},
|
||||
}
|
||||
if dsInfo.JsonData.SecureDSProxyUsername != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user