Default alerting to Alertmanager API v2

Alertmanager API v2 is available for more than 2 years now, there's no
reason to not use it by default.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier
2021-01-29 15:57:14 +01:00
parent 8588e30bd0
commit 102d4c6513
2 changed files with 3 additions and 1 deletions

View File

@@ -12,7 +12,8 @@ metadata:
spec:
alerting:
alertmanagers:
- name: alertmanager-main
- apiVersion: v2
name: alertmanager-main
namespace: monitoring
port: web
image: quay.io/prometheus/prometheus:v2.24.0