Closed dnugmanov closed 1 year ago
Trying to understand...
You want non-default port to be exposed for metrics scraping? And need a provision for specifying that in the CRD?
Correct, i suggest change this constant - https://github.com/spotahome/redis-operator/blob/40d155f3f6dd11f69c11b945497a9b9759f90f29/operator/redisfailover/service/constants.go#L6 and according fix hardcoding in this function https://github.com/spotahome/redis-operator/blob/716d0d60dd561ea1041e5ab9a71cf8e0b8952159/operator/redisfailover/service/generator.go#L617
This issue is stale because it has been open for 45 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Expected behaviour
I can through CRD change sentinelExporterPort (by default 9355) and operator will correct render env spec
Actual behaviour
If i use env LISTEN_ADDRESS in exporter container, operator incorrect add REDIS_EXPORTER_WEB_LISTEN_ADDRESS env, which is not respected in exporter configuration.
Steps to reproduce the behaviour
Environment
How are the pieces configured?