diff --git a/stable/prometheus-redis-exporter/Chart.yaml b/stable/prometheus-redis-exporter/Chart.yaml index d64d835ac8..7d5177454b 100644 --- a/stable/prometheus-redis-exporter/Chart.yaml +++ b/stable/prometheus-redis-exporter/Chart.yaml @@ -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 diff --git a/stable/prometheus-redis-exporter/templates/servicemonitor.yaml b/stable/prometheus-redis-exporter/templates/servicemonitor.yaml index b41fd6cb17..e8957053e0 100644 --- a/stable/prometheus-redis-exporter/templates/servicemonitor.yaml +++ b/stable/prometheus-redis-exporter/templates/servicemonitor.yaml @@ -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 }}