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:
Kilian
2020-10-01 16:25:48 -07:00
committed by GitHub
parent da99617882
commit c61ba759dd
6 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -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)