ServiceMonitor object is automatically created with scheme https when tls.enabled = true in helm values file.
This may not be the desired behaviour for many users and scheme option should be made configurable.
As ServiceMonitor is an internal object which is not exposed externally, most users (including me) will likely prefer having a plain http scheme for metrics scraping without TLS management burden.
What would you like to be added?
from Slack: https://redpandacommunity.slack.com/archives/C01AJDUT88N/p1721838768355329
ServiceMonitor
object is automatically created with schemehttps
whentls.enabled = true
in helm values file. This may not be the desired behaviour for many users andscheme
option should be made configurable.Current implementation: https://github.com/redpanda-data/helm-charts/blob/main/charts/redpanda/servicemonitor.go#L40
Why is this needed?
As
ServiceMonitor
is an internal object which is not exposed externally, most users (including me) will likely prefer having a plainhttp
scheme for metrics scraping without TLS management burden.JIRA Link: K8S-303