diff --git a/stable/elasticsearch-exporter/Chart.yaml b/stable/elasticsearch-exporter/Chart.yaml index b492d10b62..41a0cf973c 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: 0.1.1 +version: 0.1.2 appVersion: 1.0.2 sources: - https://github.com/justwatchcom/elasticsearch_exporter diff --git a/stable/elasticsearch-exporter/templates/service.yaml b/stable/elasticsearch-exporter/templates/service.yaml index dcc28e31ec..0d1b483b13 100644 --- a/stable/elasticsearch-exporter/templates/service.yaml +++ b/stable/elasticsearch-exporter/templates/service.yaml @@ -7,6 +7,10 @@ metadata: app: {{ template "elasticsearch-exporter.name" . }} release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" +{{- if .Values.service.annotations }} + annotations: +{{ toYaml .Values.service.annotations | indent 4 }} +{{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/stable/elasticsearch-exporter/values.yaml b/stable/elasticsearch-exporter/values.yaml index b603bca1f8..f6572cc9c8 100644 --- a/stable/elasticsearch-exporter/values.yaml +++ b/stable/elasticsearch-exporter/values.yaml @@ -22,6 +22,7 @@ resources: {} service: type: ClusterIP httpPort: 9108 + annotations: {} es: ## Address (host and port) of the Elasticsearch node we should connect to.