move registry dep on redis to external chart and increase replicas
Instead of doing what is proposed below we should move instead to managing redis with an external chart, and make it multi-replica.
OLD DESCRIPTON BELOW
It is better if we restart deployments/stateful sets rolling but this requires more than one replica.
When we tried to pull harbor images from harbor itself we hit the issue that all pods went down at the same time and there were no pods ready to serve images.
It looks like replicas: 1 is hardcoded
- v1.11.2 https://github.com/goharbor/harbor-helm/blob/v1.11.2/templates/redis/statefulset.yaml#L11
- v1.14.1 https://github.com/goharbor/harbor-helm/blob/v1.14.1/templates/redis/statefulset.yaml#L11
- (same for master branch)
We need to go through upstream (propose a change in the chart to make redis replicas configurable) and check with them if there is a reason they chose that.