[stable/elasticsearch-exporter] Feature flap the flag es.uri (#20589)

* Feature flap the flag es.uri to allow fallback to env var ES_URI

Signed-off-by: Maxime Fouilleul <maxime.fouilleul@blablacar.com>

* Bump chart

Signed-off-by: Maxime Fouilleul <maxime.fouilleul@blablacar.com>
This commit is contained in:
Maxime Fouilleul
2020-02-07 00:17:42 -08:00
committed by GitHub
parent 61c95cb9b7
commit 1d07dadf21
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Elasticsearch stats exporter for Prometheus
name: elasticsearch-exporter
version: 2.2.0
version: 2.3.0
kubeVersion: ">=1.10.0-0"
appVersion: 1.1.0
home: https://github.com/justwatchcom/elasticsearch_exporter
@@ -63,7 +63,9 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["elasticsearch_exporter",
{{- if .Values.es.uri }}
"--es.uri={{ .Values.es.uri }}",
{{- end }}
{{- if .Values.es.all }}
"--es.all",
{{- end }}