feat(alerting): make it possible to skip ssl verification for alerting https requests
This commit is contained in:
@@ -141,7 +141,8 @@ var (
|
||||
Quota QuotaSettings
|
||||
|
||||
// Alerting
|
||||
AlertingEnabled bool
|
||||
AlertingEnabled bool
|
||||
AlertingSkipSSLValidation bool
|
||||
|
||||
// logger
|
||||
logger log.Logger
|
||||
@@ -546,6 +547,7 @@ func NewConfigContext(args *CommandLineArgs) error {
|
||||
|
||||
alerting := Cfg.Section("alerting")
|
||||
AlertingEnabled = alerting.Key("enabled").MustBool(false)
|
||||
AlertingSkipSSLValidation = alerting.Key("skip_ssl_validation").MustBool(false)
|
||||
|
||||
readSessionConfig()
|
||||
readSmtpSettings()
|
||||
|
||||
Reference in New Issue
Block a user