Commit 65823bc0 authored by elpadrinoIV's avatar elpadrinoIV Committed by Kubernetes Prow Robot

Added imagePullSecrets (see #15703) (#15704)

Added imagePullSecrets to be able to pull docker image from private repository. Signed-off-by: 's avatarNicolas Dascanio <nicolas.dascanio@intraway.com>
parent 423cd2d9
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:
......
......@@ -11,6 +11,8 @@ image:
podAnnotations: {}
imagePullSecrets: []
env:
- name: HOSTNAME
value: "telegraf-polling-service"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment