diff --git a/stable/elasticsearch-exporter/Chart.yaml b/stable/elasticsearch-exporter/Chart.yaml index f43fa381c5..f7f9acdf25 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.2.2 +version: 0.3.0 appVersion: 1.0.2 home: https://github.com/justwatchcom/elasticsearch_exporter sources: diff --git a/stable/elasticsearch-exporter/README.md b/stable/elasticsearch-exporter/README.md index 5d3408ecca..2f38cc86f4 100644 --- a/stable/elasticsearch-exporter/README.md +++ b/stable/elasticsearch-exporter/README.md @@ -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` diff --git a/stable/elasticsearch-exporter/templates/deployment.yaml b/stable/elasticsearch-exporter/templates/deployment.yaml index cbffc2e87a..54794918ca 100644 --- a/stable/elasticsearch-exporter/templates/deployment.yaml +++ b/stable/elasticsearch-exporter/templates/deployment.yaml @@ -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 }}" diff --git a/stable/elasticsearch-exporter/values.yaml b/stable/elasticsearch-exporter/values.yaml index eaa3d4421c..949b4415cd 100644 --- a/stable/elasticsearch-exporter/values.yaml +++ b/stable/elasticsearch-exporter/values.yaml @@ -23,6 +23,8 @@ priorityClassName: "" nodeSelector: {} +podAnnotations: {} + service: type: ClusterIP httpPort: 9108