mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Unified Storage: Adds settings for ca cert path and skipping cert verification (#98412)
Adds settings to US for ca cert path and skipping cert verification
This commit is contained in:
parent
f851379f7d
commit
e6e5d23259
@ -531,6 +531,8 @@ type Cfg struct {
|
||||
IndexMinCount int
|
||||
SprinklesApiServer string
|
||||
SprinklesApiServerPageLimit int
|
||||
CACertPath string
|
||||
HttpsSkipVerify bool
|
||||
}
|
||||
|
||||
type UnifiedStorageConfig struct {
|
||||
|
@ -54,4 +54,6 @@ func (cfg *Cfg) setUnifiedStorageConfig() {
|
||||
cfg.IndexMinCount = section.Key("index_min_count").MustInt(1)
|
||||
cfg.SprinklesApiServer = section.Key("sprinkles_api_server").String()
|
||||
cfg.SprinklesApiServerPageLimit = section.Key("sprinkles_api_server_page_limit").MustInt(100)
|
||||
cfg.CACertPath = section.Key("ca_cert_path").String()
|
||||
cfg.HttpsSkipVerify = section.Key("https_skip_verify").MustBool(false)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user