mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user