use real alertmanager name
`alertmanager-main` is hardcoded where it should derive from the real alertmanager name as defined by the user
This commit is contained in:
committed by
GitHub
parent
9c82f86770
commit
2511a6c529
@@ -89,7 +89,7 @@ local configMapList = k3.core.v1.configMapList;
|
||||
coreDNSSelector: 'job="kube-dns"',
|
||||
podLabel: 'pod',
|
||||
|
||||
alertmanagerSelector: 'job="alertmanager-main",namespace="' + $._config.namespace + '"',
|
||||
alertmanagerSelector: 'job="alertmanager-' + $._config.alertmanager.name + '",namespace="' + $._config.namespace + '"',
|
||||
prometheusSelector: 'job="prometheus-' + $._config.prometheus.name + '",namespace="' + $._config.namespace + '"',
|
||||
prometheusName: '{{$labels.namespace}}/{{$labels.pod}}',
|
||||
prometheusOperatorSelector: 'job="prometheus-operator",namespace="' + $._config.namespace + '"',
|
||||
|
Reference in New Issue
Block a user