From 0d991102835c400f79ec59cc6eae248b3bdba42e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Noco=C5=84?= Date: Wed, 20 Feb 2019 15:51:17 +0100 Subject: [PATCH] [stable/elasticsearch-exporter] Add scheme to the ServiceMonitor. Cannot fetch metrics from exporter if prometheus has a different default scheme. (#11421) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomasz NocoĊ„ --- stable/elasticsearch-exporter/Chart.yaml | 2 +- stable/elasticsearch-exporter/templates/servicemonitor.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stable/elasticsearch-exporter/Chart.yaml b/stable/elasticsearch-exporter/Chart.yaml index 0dfa8969d3..09a3625388 100644 --- a/stable/elasticsearch-exporter/Chart.yaml +++ b/stable/elasticsearch-exporter/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Elasticsearch stats exporter for Prometheus name: elasticsearch-exporter -version: 1.1.1 +version: 1.1.2 appVersion: 1.0.2 home: https://github.com/justwatchcom/elasticsearch_exporter sources: diff --git a/stable/elasticsearch-exporter/templates/servicemonitor.yaml b/stable/elasticsearch-exporter/templates/servicemonitor.yaml index 43a36175f7..939ea0ea3b 100644 --- a/stable/elasticsearch-exporter/templates/servicemonitor.yaml +++ b/stable/elasticsearch-exporter/templates/servicemonitor.yaml @@ -18,6 +18,7 @@ spec: honorLabels: true port: "{{ .Values.service.httpPort }}" path: {{ .Values.web.path }} + scheme: http jobLabel: "{{ .Release.Name }}" selector: matchLabels: