mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
committed by
Kubernetes Prow Robot
parent
e908cc5c0c
commit
72d9a04034
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user