[stable/elasticsearch-exporter] Add imagePullSecret support (#14887)

Signed-off-by: Julian Schlichtholz <jschlichtholz@salesforce.com>
This commit is contained in:
Julian Schlichtholz
2019-06-27 00:25:20 -07:00
committed by Kubernetes Prow Robot
parent 5b26a9bb39
commit f56db59988
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Elasticsearch stats exporter for Prometheus
name: elasticsearch-exporter
version: 1.4.1
version: 1.5.0
appVersion: 1.0.2
home: https://github.com/justwatchcom/elasticsearch_exporter
sources:
+1
View File
@@ -49,6 +49,7 @@ Parameter | Description | Default
`image.repository` | container image repository | `justwatch/elasticsearch_exporter`
`image.tag` | container image tag | `1.0.2`
`image.pullPolicy` | container image pull policy | `IfNotPresent`
`image.pullSecret` | container image pull secret | `""`
`resources` | resource requests & limits | `{}`
`priorityClassName` | priorityClassName | `nil`
`nodeSelector` | Node labels for pod assignment | `{}`
@@ -30,6 +30,10 @@ spec:
spec:
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
{{- if .Values.image.pullSecret }}
imagePullSecrets:
- name: {{ .Values.image.pullSecret }}
{{- end }}
restartPolicy: {{ .Values.restartPolicy }}
{{- if .Values.securityContext.enabled }}
@@ -10,6 +10,7 @@ image:
repository: justwatch/elasticsearch_exporter
tag: 1.0.2
pullPolicy: IfNotPresent
pullSecret: ""
## Set enabled to false if you don't want securityContext
## in your Deployment.