Add missing prometheus options to resource (#8738)

- scrapeInterval
- evaluationInterval

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>
This commit is contained in:
Vasily Sliouniaev
2018-10-25 03:40:26 -07:00
committed by k8s-ci-robot
parent e46c588ab9
commit 35a2602e44
2 changed files with 7 additions and 1 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: 0.1.5
version: 0.1.6
appVersion: "0.24.0"
home: https://github.com/coreos/prometheus-operator
keywords:
@@ -39,6 +39,12 @@ spec:
replicas: {{ .Values.prometheus.prometheusSpec.replicas }}
logLevel: {{ .Values.prometheus.prometheusSpec.logLevel }}
listenLocal: {{ .Values.prometheus.prometheusSpec.listenLocal }}
{{- if .Values.prometheus.prometheusSpec.scrapeInterval }}
scrapeInterval: {{ .Values.prometheus.prometheusSpec.scrapeInterval }}
{{- end }}
{{- if .Values.prometheus.prometheusSpec.evaluationInterval }}
evaluationInterval: {{ .Values.prometheus.prometheusSpec.evaluationInterval }}
{{- end }}
{{- if .Values.prometheus.prometheusSpec.resources }}
resources:
{{ toYaml .Values.prometheus.prometheusSpec.resources | indent 4 }}