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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user