Currently a ServiceMonitor is created if the k8s cluster supports the type, however in some cases this is not desirable as the resource may not be desired or the chart deployer may not have the required permissions to create such a resource.
We should allow users to disable ServiceMonitor creation via the values.yaml.
We can add the deploy.monitoring object, with a sub-field enabled to determine if the monitoring resources should be created or not. Monitoring should be enabled by default to provide backwards-compatibility.:
Currently a
ServiceMonitor
is created if the k8s cluster supports the type, however in some cases this is not desirable as the resource may not be desired or the chart deployer may not have the required permissions to create such a resource.We should allow users to disable ServiceMonitor creation via the values.yaml.
We can add the
deploy.monitoring
object, with a sub-fieldenabled
to determine if the monitoring resources should be created or not. Monitoring should be enabled by default to provide backwards-compatibility.: