mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
k8s-ci-robot
parent
e0e28a8ea8
commit
845e977c89
@@ -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:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user