prometheus service annotations for elastisearch-exporter (#3842)

* prometheus service annotations for elastisearch-exporter

* more canonical service annotation definition
This commit is contained in:
Christopher Stelma
2018-02-28 21:46:55 -08:00
committed by k8s-ci-robot
parent e21808e017
commit 151d148d12
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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
@@ -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:
@@ -22,6 +22,7 @@ resources: {}
service:
type: ClusterIP
httpPort: 9108
annotations: {}
es:
## Address (host and port) of the Elasticsearch node we should connect to.