VictoriaMetrics / operator

Kubernetes operator for Victoria Metrics
Apache License 2.0
410 stars 141 forks source link

controllers/factory/vmalert: do not add `notifier.*` flags if `notifier.blackhole` is set by user #895

Closed zekker6 closed 4 months ago

zekker6 commented 4 months ago

Previously, setting "notifier.blackhole" and not using any notifiers would lead to CrashLoopBackoff because vmalert would receive an empty "notifier.url" value.

Updates:

f41gh7 commented 4 months ago

I think, it'd be great to set blackhole as a default value if there is no any notifiers configured.