k8wiz
cert-manager
Easy
Commands

What happens if you set both prometheus.podmonitor.enabled and prometheus.servicemonitor.enabled to true in the cert-manager Helm chart?

Select your answer:

Show answer and explanation

Answer: The chart fails to render and Helm reports an error

Explanation

The PodMonitor and ServiceMonitor options are mutually exclusive. The chart's monitor templates call Helm's fail function when both are enabled, so the install or upgrade stops with an error instead of creating duplicate scrape targets.

Read more about cert-manager