mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-10-26 21:51:00 +01:00
Merge pull request #992 from paulfantom/am-rules
Better name for alertmanager prometheusRule object
This commit is contained in:
commit
a9961b8f6e
@ -82,7 +82,7 @@ function(params) {
|
|||||||
kind: 'PrometheusRule',
|
kind: 'PrometheusRule',
|
||||||
metadata: {
|
metadata: {
|
||||||
labels: am.config.commonLabels + am.config.mixin.ruleLabels,
|
labels: am.config.commonLabels + am.config.mixin.ruleLabels,
|
||||||
name: am.config.name + '-rules',
|
name: 'alertmanager-' + am.config.name + '-rules',
|
||||||
namespace: am.config.namespace,
|
namespace: am.config.namespace,
|
||||||
},
|
},
|
||||||
spec: {
|
spec: {
|
||||||
|
|||||||
@ -8,7 +8,7 @@ metadata:
|
|||||||
app.kubernetes.io/version: 0.21.0
|
app.kubernetes.io/version: 0.21.0
|
||||||
prometheus: k8s
|
prometheus: k8s
|
||||||
role: alert-rules
|
role: alert-rules
|
||||||
name: main-rules
|
name: alertmanager-main-rules
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
groups:
|
groups:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user