mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-02 09:01:02 +01:00
Merge pull request #900 from simonpasquier/switch-apiv2-alerting
Default alerting to Alertmanager API v2
This commit is contained in:
commit
6758acbb30
@ -251,6 +251,7 @@ function(params) {
|
||||
namespace: p.config.namespace,
|
||||
name: 'alertmanager-' + p.config.alertmanagerName,
|
||||
port: 'web',
|
||||
apiVersion: 'v2',
|
||||
}],
|
||||
},
|
||||
securityContext: {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user