jsonnet: better name for prometheus PrometheusRule object

This commit is contained in:
paulfantom
2021-02-12 09:40:14 +01:00
parent 2a66bb88b5
commit cff8fec592

View File

@@ -66,7 +66,7 @@ function(params) {
kind: 'PrometheusRule', kind: 'PrometheusRule',
metadata: { metadata: {
labels: p.config.commonLabels + p.config.mixin.ruleLabels, labels: p.config.commonLabels + p.config.mixin.ruleLabels,
name: p.config.name + '-rules', name: 'prometheus-' + p.config.name + '-prometheus-rules',
namespace: p.config.namespace, namespace: p.config.namespace,
}, },
spec: { spec: {