stable/elasticsearch-exporter: fix bug in template (#14486)

Signed-off-by: Hector Fernandez <hfernandez@mesosphere.com>
This commit is contained in:
Hector Fernandez
2019-06-04 17:09:53 -07:00
committed by Kubernetes Prow Robot
parent 436a1e8100
commit 1502895d6b
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Elasticsearch stats exporter for Prometheus
name: elasticsearch-exporter
version: 1.3.0
version: 1.3.1
appVersion: 1.0.2
home: https://github.com/justwatchcom/elasticsearch_exporter
sources:
@@ -7,11 +7,9 @@ metadata:
app: {{ template "elasticsearch-exporter.name" . }}
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- if .Values.service.labels }}
{{- range $key, $value := .Values.service.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels | indent 4 }}
{{- end }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | indent 4 }}