[stable/prometheus-redis-exporter] fix targetLabels (#22541)

Signed-off-by: Calvin Bui <3604363+calvinbui@users.noreply.github.com>
This commit is contained in:
Calvin Bui
2020-05-28 02:42:02 -07:00
committed by GitHub
parent 91d0b7e3c8
commit 8d5bb4e87e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.3.4
description: Prometheus exporter for Redis metrics
name: prometheus-redis-exporter
version: 3.4.0
version: 3.4.1
home: https://github.com/oliver006/redis_exporter
sources:
- https://github.com/oliver006/redis_exporter
@@ -32,8 +32,8 @@ spec:
app: {{ template "prometheus-redis-exporter.name" . }}
release: {{ .Release.Name }}
{{- if .Values.serviceMonitor.targetLabels }}
targetLabels:
{{- range .Values.serviceMonitor.targetLabels }}
targetLabels:
- {{ . }}
{{- end }}
{{- end }}