Commit 566ef5d
feat(helm): expose K8ssandra native Prometheus telemetry via values
Add opt-in `cassandra.telemetry.prometheus` block to the K8ssandraCluster
template so users can enable the native ServiceMonitor generated by the
K8ssandra Operator without maintaining a separate manifest.
When `cassandra.telemetry.prometheus.enabled: true`, the operator creates
a ServiceMonitor automatically. The block is guarded by `{{- with }}` so
existing deployments that omit the key are unaffected (retrocompatible).
Example values:
cassandra:
telemetry:
prometheus:
enabled: true
commonLabels:
release: prometheus # match kube-prometheus-stack selector
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 40064cc commit 566ef5d
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
| |||
0 commit comments