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:
owensmallwood 2025-01-06 14:00:38 -06:00 committed by GitHub
parent f851379f7d
commit e6e5d23259
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -531,6 +531,8 @@ type Cfg struct {
IndexMinCount int
SprinklesApiServer string
SprinklesApiServerPageLimit int
CACertPath string
HttpsSkipVerify bool
}
type UnifiedStorageConfig struct {

View File

@ -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)
}