[bitnami/rabbitmq-cluster-operator] fix: use consistent naming for ServiceMonitor (#8407)

This commit is contained in:
Em Karisch
2021-12-15 12:18:15 +01:00
committed by GitHub
parent 4bca8a5de4
commit ea9130ec11
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -25,4 +25,4 @@ name: rabbitmq-cluster-operator
sources:
- https://github.com/bitnami/bitnami-docker-rabbitmq-cluster-operator
- https://github.com/rabbitmq/cluster-operator
version: 2.0.5
version: 2.0.6
@@ -2,7 +2,7 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "common.names.fullname" . }}-cluster-operator
name: {{ template "rmqco.clusterOperator.fullname" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.clusterOperator.metrics.serviceMonitor.additionalLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.clusterOperator.metrics.serviceMonitor.additionalLabels "context" $) | nindent 4 }}
@@ -2,7 +2,7 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "common.names.fullname" . }}-messaging-topology-operator
name: {{ template "rmqco.msgTopologyOperator.fullname" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.msgTopologyOperator.metrics.serviceMonitor.additionalLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.msgTopologyOperator.metrics.serviceMonitor.additionalLabels "context" $) | nindent 4 }}