Add redis use_tls cfg (#2311)
Adding config parameter 'redis.use_tls' to enable tls communications with redis e.g. AWS ElastiCache Closes #2247
This commit is contained in:
+1
-1
@@ -176,7 +176,7 @@ the way that the Fleet server works.
|
||||
}
|
||||
}
|
||||
|
||||
redisPool := pubsub.NewRedisPool(config.Redis.Address, config.Redis.Password, config.Redis.Database)
|
||||
redisPool := pubsub.NewRedisPool(config.Redis.Address, config.Redis.Password, config.Redis.Database, config.Redis.UseTLS)
|
||||
resultStore := pubsub.NewRedisQueryResults(redisPool)
|
||||
liveQueryStore := live_query.NewRedisLiveQuery(redisPool)
|
||||
ssoSessionStore := sso.NewSessionStore(redisPool)
|
||||
|
||||
Reference in New Issue
Block a user