mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
stable/elasticsearch-exporter: fix bug in template (#14486)
Signed-off-by: Hector Fernandez <hfernandez@mesosphere.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
436a1e8100
commit
1502895d6b
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user