Added imagePullSecrets (see #15703) (#15704)

Added imagePullSecrets to be able to pull docker image from private repository.

Signed-off-by: Nicolas Dascanio <nicolas.dascanio@intraway.com>
This commit is contained in:
elpadrinoIV
2019-07-19 14:55:11 -07:00
committed by Kubernetes Prow Robot
parent 56accca249
commit c0941cdf06
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: telegraf
version: 1.1.4
version: 1.1.5
appVersion: 1.10
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
@@ -33,6 +33,10 @@ spec:
volumeMounts:
- name: config
mountPath: /etc/telegraf
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
volumes:
- name: config
configMap:
+2
View File
@@ -11,6 +11,8 @@ image:
podAnnotations: {}
imagePullSecrets: []
env:
- name: HOSTNAME
value: "telegraf-polling-service"