mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-10-25 06:01:02 +02:00
Merge pull request #940 from paulfantom/prometheus-rule-name
jsonnet: better name for prometheus PrometheusRule object
This commit is contained in:
commit
0c25559b39
@ -66,7 +66,7 @@ function(params) {
|
||||
kind: 'PrometheusRule',
|
||||
metadata: {
|
||||
labels: p.config.commonLabels + p.config.mixin.ruleLabels,
|
||||
name: p.config.name + '-rules',
|
||||
name: 'prometheus-' + p.config.name + '-prometheus-rules',
|
||||
namespace: p.config.namespace,
|
||||
},
|
||||
spec: {
|
||||
|
||||
@ -8,7 +8,7 @@ metadata:
|
||||
app.kubernetes.io/version: 2.24.0
|
||||
prometheus: k8s
|
||||
role: alert-rules
|
||||
name: k8s-rules
|
||||
name: prometheus-k8s-prometheus-rules
|
||||
namespace: monitoring
|
||||
spec:
|
||||
groups:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user