File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
deploy/charts/cert-manager Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- {{- if and .Values.prometheus.enabled .Values.prometheus.servicemonitor .enabled }}
1
+ {{- if and .Values.prometheus.enabled (not .Values.prometheus.podmonitor .enabled) }}
2
2
apiVersion : v1
3
3
kind : Service
4
4
metadata :
Original file line number Diff line number Diff line change @@ -419,10 +419,12 @@ enableServiceLinks: false
419
419
# +docs:section=Prometheus
420
420
421
421
prometheus :
422
- # Enable prometheus monitoring for the cert-manager controller, to use with
423
<
7BEA
/td>
- # Prometheus Operator either `prometheus.servicemonitor.enabled` or
424
- # `prometheus.podmonitor.enabled` can be used to create a ServiceMonitor/PodMonitor
425
- # resource
422
+ # Enable Prometheus monitoring for the cert-manager controller to use with the
423
+ # Prometheus Operator. If this option is enabled without enabling `prometheus.servicemonitor.enabled` or
424
+ # `prometheus.podmonitor.enabled`, 'prometheus.io' annotations are added to the cert-manager Deployment
425
+ # resources. Additionally, a service is created which can be used together
426
+ # with your own ServiceMonitor (managed outside of this Helm chart).
427
+ # Otherwise, a ServiceMonitor/ PodMonitor is created.
426
428
enabled : true
427
429
servicemonitor :
428
430
# Create a ServiceMonitor to add cert-manager to Prometheus
You can’t perform that action at this time.
0 commit comments