@@ -162,13 +162,15 @@ func NewCacheConfig(logger log.Logger, confContentYaml []byte) (*cortexcache.Con
162
162
}
163
163
return & cortexcache.Config {
164
164
Redis : cortexcache.RedisConfig {
165
- Endpoint : config .Redis .Addr ,
166
- Timeout : config .Redis .ReadTimeout ,
167
- MasterName : config .Redis .MasterName ,
168
- Expiration : config .Expiration ,
169
- DB : config .Redis .DB ,
170
- Password : flagext.Secret {Value : config .Redis .Password },
171
- Username : config .Redis .Username ,
165
+ Endpoint : config .Redis .Addr ,
166
+ Timeout : config .Redis .ReadTimeout ,
167
+ MasterName : config .Redis .MasterName ,
168
+ Expiration : config .Expiration ,
169
+ DB : config .Redis .DB ,
170
+ Password : flagext.Secret {Value : config .Redis .Password },
171
+ Username : config .Redis .Username ,
172
+ EnableTLS : config .Redis .TLSEnabled ,
173
+ InsecureSkipVerify : config .Redis .TLSConfig .InsecureSkipVerify ,
172
174
},
173
175
Background : cortexcache.BackgroundConfig {
174
176
WriteBackBuffer : config .Redis .MaxSetMultiConcurrency * config .Redis .SetMultiBatchSize ,
0 commit comments