[stable/rabbitmq-ha] Fix namespace and labels in prometheus alerts definition (#7520)

Signed-off-by: Jakub Krcma <jakub.krcma@heureka.cz>
This commit is contained in:
Jakub Krčma
2018-11-15 08:02:33 -08:00
committed by k8s-ci-robot
parent e0e28a8ea8
commit 845e977c89
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: rabbitmq-ha
apiVersion: v1
appVersion: 3.7.4
version: 1.12.1
version: 1.13.0
description: Highly available RabbitMQ cluster, the open source message broker
software that implements the Advanced Message Queuing Protocol (AMQP).
keywords:
+4 -4
View File
@@ -3,12 +3,12 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-rabbitmq-alerts
namespace: monitoring
namespace: {{ .Values.prometheus.operator.serviceMonitor.namespace }}
labels:
app: "rabbitmq"
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
heritage: {{ .Release.Service }}
app: {{ template "rabbitmq-ha.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.prometheus.operator.serviceMonitor.selector }}
{{ toYaml .Values.prometheus.operator.serviceMonitor.selector | indent 4 }}
{{- end }}