[stable/elasticsearch-exporter] Adding pod annotations (#7960)

* Adding pod annotations

Signed-off-by: Maciej Bryński <maciej.brynski@xcaliber.com>

* README

Signed-off-by: Maciej Bryński <maciej.brynski@xcaliber.com>
This commit is contained in:
Maciej Bryński
2018-09-25 07:20:44 -07:00
committed by k8s-ci-robot
parent 2d71a4fbbe
commit 499ce02cf4
4 changed files with 8 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.2.2
version: 0.3.0
appVersion: 1.0.2
home: https://github.com/justwatchcom/elasticsearch_exporter
sources:
+1
View File
@@ -52,6 +52,7 @@ Parameter | Description | Default
`resources` | resource requests & limits | `{}`
`priorityClassName` | priorityClassName | `nil` |
`nodeSelector` | Node labels for pod assignment | `{}` |
`podAnnotations` | Pod annotations | `{}` |
`service.type` | type of service to create | `ClusterIP`
`service.httpPort` | port for the http service | `9108`
`es.uri` | address of the Elasticsearch node to connect to | `localhost:9200`
@@ -23,6 +23,10 @@ spec:
labels:
app: {{ template "elasticsearch-exporter.name" . }}
release: "{{ .Release.Name }}"
{{- if .Values.podAnnotations }}
annotations:
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
@@ -23,6 +23,8 @@ priorityClassName: ""
nodeSelector: {}
podAnnotations: {}
service:
type: ClusterIP
httpPort: 9108