Add URL validation for Config Secret in Alertmanager
Author: nutmosCreated Dec 19, 2025Updated Aug 3, 2026
Labelshelp wantedkind/feature
Component(s)
No response
What is missing? Please describe.
Nowadays, we have the sanitize methods to sanitize configuration. Mostly sanitize methods will check Alertmanager secrets for the mutually exclusive values or version support but the URLs are mostly checked at the CR when converting.
Since there are several URL values implemented in the Alertmanager, we should validate URL for the config from secrets too.
Describe alternatives you've considered.
Continue from #8188
Environment Information.
Environment
Kubernetes Version: Prometheus-Operator Version:
Source: prometheus-operator/prometheus-operator