对于没有线程的电子邮件接收者,AlertmanagerConfig 转换失败,且丢弃 Pushover ttl
作者: Sanchit2662创建于 2026年9月23日更新于 2026年9月25日
标签kind/bug
1. Email receivers without threading fail to convert
convertEmailThreadingConfigTo and convertEmailThreadingConfigFrom dereference Threading without a nil check. threading is optional, so most email receivers don't set it and hit this panic. controller-runtime recovers from the panic, but the ConversionReview still fails with internal error occurred during conversion, and the API server rejects the request.
- https://GitHub.com/prometheus-operator/prometheus-operator/blob/e28e1006428a3cfc787cf0e220a8d5915b560956/pkg/apis/monitoring/v1beta1/conversion_to.go#L455-L459
- https://GitHub.com/prometheus-operator/prometheus-operator/blob/e28e1006428a3cfc787cf0e220a8d5915b560956/pkg/apis/monitoring/v1beta1/conversion_from.go#L459-L463
内容来源: prometheus-operator/prometheus-operator