fix backwards incompatible change: include a prometheus service by default
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
This commit is contained in:
parent
3cdd44bbed
commit
4659b33b00
@ -1,4 +1,4 @@
|
||||
{{- if and .Values.prometheus.enabled .Values.prometheus.servicemonitor.enabled }}
|
||||
{{- if and .Values.prometheus.enabled (not .Values.prometheus.podmonitor.enabled) }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
|
||||
@ -421,7 +421,9 @@ enableServiceLinks: false
|
||||
prometheus:
|
||||
# Enable Prometheus monitoring for the cert-manager controller to use with the
|
||||
# Prometheus Operator. If this option is enabled without enabling `prometheus.servicemonitor.enabled` or
|
||||
# `prometheus.podmonitor.enabled`, 'prometheus.io' annotations are added to the cert-manager Deployment resources.
|
||||
# `prometheus.podmonitor.enabled`, 'prometheus.io' annotations are added to the cert-manager Deployment
|
||||
# resources. Additionally, for backwards compatibility a service is created which can be used together
|
||||
# with your own ServiceMonitor (managed outside of this Helm chart).
|
||||
# Otherwise, a ServiceMonitor/ PodMonitor is created.
|
||||
enabled: true
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user