[stable/helm-exporter] Support scrapeTimeout to avoid timeouts (#16310)

* Support scrapeTimeout to avoid timeouts

Signed-off-by: Minh Danh <minhdanh.ngo@gmail.com>

* Bump version to 0.3.1

Signed-off-by: Minh Danh <minhdanh.ngo@gmail.com>

* Use latest image

Signed-off-by: Minh Danh <minhdanh.ngo@gmail.com>
This commit is contained in:
Minh Danh
2019-08-15 16:28:34 -07:00
committed by Kubernetes Prow Robot
parent 13b04f1b30
commit d78a24c453
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.4.0"
description: Exports helm release stats to prometheus
name: helm-exporter
version: 0.3.0
version: 0.3.1
home: https://github.com/sstarcher/helm-exporter
sources:
- https://github.com/sstarcher/helm-exporter
@@ -21,6 +21,9 @@ spec:
{{- with .Values.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
{{- with .Values.serviceMonitor.scrapeTimeout }}
scrapeTimeout: {{ . }}
{{- end }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
+2 -1
View File
@@ -2,7 +2,7 @@ replicaCount: 1
image:
repository: sstarcher/helm-exporter
tag: 0.4.0
tag: 0.4.2
pullPolicy: Always
# To override default tiller namespace name or to provide the multiple tiller namespaces like "kube-system,dev"
@@ -34,6 +34,7 @@ serviceMonitor:
# Specifies whether a ServiceMonitor should be created
create: false
interval:
scrapeTimeout:
namespace:
additionalLabels: {}