goharbor / harbor-scanner-clair

Use Clair as a plug-in vulnerability scanner in the Harbor registry
https://goharbor.io/
Apache License 2.0
35 stars 26 forks source link

Support Redis Sentinel mode #19

Closed bitsf closed 4 years ago

bitsf commented 4 years ago

https://redis.io/topics/sentinel

Harbor can be deployed in HA environment where Redis is also available in Sentinel mode. We should be able to support such setup.

The task here is to check what are the requirements to support sentinel mode and whether the https://github.com/gomodule/redigo lib is suitable. Then, implement the changes to the connection pool and config.

This is relevant for the integration with https://github.com/goharbor/harbor-operator and https://github.com/goharbor/harbor-cluster-operator