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 apiVersion: v1
name: telegraf name: telegraf
version: 1.1.4 version: 1.1.5
appVersion: 1.10 appVersion: 1.10
deprecated: false deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
...@@ -33,6 +33,10 @@ spec: ...@@ -33,6 +33,10 @@ spec:
volumeMounts: volumeMounts:
- name: config - name: config
mountPath: /etc/telegraf mountPath: /etc/telegraf
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
volumes: volumes:
- name: config - name: config
configMap: configMap:
......
...@@ -11,6 +11,8 @@ image: ...@@ -11,6 +11,8 @@ image:
podAnnotations: {} podAnnotations: {}
imagePullSecrets: []
env: env:
- name: HOSTNAME - name: HOSTNAME
value: "telegraf-polling-service" 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