- Remove the creation of the
Service
andServiceMonitor
from the code of the operator. - Instead provide an option to create the
ServiceMonitor
via Helm chart.
The following values can be set via the Helm chart:
serviceMonitor:
enabled: false
labels: {}
interval: 10s
scrapeTimeout: 10s
honorLabels: true
relabelings: []