From cff8fec592a379df867473b42b14cf4cc7e0cbe7 Mon Sep 17 00:00:00 2001 From: paulfantom <pawel@krupa.net.pl> Date: Fri, 12 Feb 2021 09:40:14 +0100 Subject: [PATCH] jsonnet: better name for prometheus PrometheusRule object --- jsonnet/kube-prometheus/components/prometheus.libsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonnet/kube-prometheus/components/prometheus.libsonnet b/jsonnet/kube-prometheus/components/prometheus.libsonnet index aef2a851..cef55f39 100644 --- a/jsonnet/kube-prometheus/components/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/components/prometheus.libsonnet @@ -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: { -- GitLab