If the sentinel exporter is enabled then the Service should export the metrics port as well as the sentinel port on the generated service -- or at worst it should make another service, but I don't know of any reason it would
Actual behaviour
It creates a service with only one port defined regardless of whether exporter is enabled
Steps to reproduce the behaviour
Create a RedisFailover object with metrics enabled and look at the service
Environment
How are the pieces configured?
Redis Operator version - 1.24
I looked at the code and it's not even trying, so I'm pretty confident the rest won't matter =]
Expected behaviour
If the sentinel exporter is enabled then the Service should export the metrics port as well as the sentinel port on the generated service -- or at worst it should make another service, but I don't know of any reason it would
Actual behaviour
It creates a service with only one port defined regardless of whether exporter is enabled
Steps to reproduce the behaviour
Create a RedisFailover object with metrics enabled and look at the service
Environment
How are the pieces configured?
I looked at the code and it's not even trying, so I'm pretty confident the rest won't matter =]