recent change broke additional service monitors by not breaking out of range scope to get other variables. fixed. (#10384)

Signed-off-by: Joe Hohertz <joe@viafoura.com>
This commit is contained in:
Joe Hohertz
2019-01-03 09:30:36 -08:00
committed by Kubernetes Prow Robot
parent e908cc5c0c
commit 72d9a04034
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ name: prometheus-operator
sources:
- https://github.com/coreos/prometheus-operator
- https://coreos.com/operators/prometheus
version: 1.4.0
version: 1.4.1
appVersion: 0.26.0
home: https://github.com/coreos/prometheus-operator
keywords:
@@ -3,7 +3,7 @@ apiVersion: v1
kind: List
items:
{{- range .Values.prometheus.additionalServiceMonitors }}
- apiVersion: {{ printf "%s/v1" (.Values.prometheusOperator.crdApiGroup | default "monitoring.coreos.com") }}
- apiVersion: {{ printf "%s/v1" ($.Values.prometheusOperator.crdApiGroup | default "monitoring.coreos.com") }}
kind: ServiceMonitor
metadata:
name: {{ .name }}