Commit 4a17ca3
authored
feat: add custom labels support to ServiceMonitor (#239)
Allow users to add custom labels to the ServiceMonitor resource via
cloudflaredServiceMonitor.labels in values.yaml. This enables compatibility
with Prometheus Operator instances that use custom label selectors.
Example usage:
```yaml
cloudflaredServiceMonitor:
create: true
labels:
release: kube-prometheus-stack
```
This change maintains backward compatibility - if no custom labels are
specified, the ServiceMonitor behaves exactly as before.1 parent d3e0573 commit 4a17ca3
1 file changed
Lines changed: 3 additions & 0 deletions
File tree
- helm/cloudflare-tunnel-ingress-controller/templates
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
0 commit comments