redpanda-data / helm-charts

Redpanda Helm Chart
http://redpanda.com
Apache License 2.0
78 stars 96 forks source link

Make scheme attribute of ServiceMonitor object configurable #1450

Closed tboh003 closed 2 months ago

tboh003 commented 3 months ago

What would you like to be added?

from Slack: https://redpandacommunity.slack.com/archives/C01AJDUT88N/p1721838768355329

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.

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 plain http scheme for metrics scraping without TLS management burden.

JIRA Link: K8S-303