mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
k8s-ci-robot
parent
2d71a4fbbe
commit
499ce02cf4
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user