mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 06:45:27 +01:00
[helm/prometheus] Rename extra rules (#1586)
* Use prometheus.fullname and append extra-rules to additional rules
This commit is contained in:
committed by
Giancarlo Rubio
parent
a24386e2d5
commit
e8ddf20399
@@ -7,4 +7,4 @@ maintainers:
|
||||
name: kube-prometheus
|
||||
sources:
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
version: 0.0.96
|
||||
version: 0.0.97
|
||||
|
||||
@@ -8,10 +8,11 @@ metadata:
|
||||
heritage: {{ .Release.Service }}
|
||||
prometheus: {{ .Values.prometheusLabelValue | default .Release.Name | quote }}
|
||||
release: {{ .Release.Name }}
|
||||
role: alert-rules
|
||||
{{- if .Values.rules.additionalLabels }}
|
||||
{{ toYaml .Values.rules.additionalLabels | indent 4 }}
|
||||
{{- end }}
|
||||
name: prometheus-{{ .Release.Name }}-rules
|
||||
name: {{ template "prometheus.fullname" . }}-extra-rules
|
||||
spec:
|
||||
groups:
|
||||
{{ toYaml .Values.rules.value | indent 4 }}
|
||||
|
||||
Reference in New Issue
Block a user