Unverified Commit edb7bd78 authored by Josh Michielsen's avatar Josh Michielsen Committed by GitHub

add imagePullSecrets support to telegraf-ds chart (#640)

parent 2ab02b15
apiVersion: v1 apiVersion: v1
name: telegraf-ds name: telegraf-ds
version: 1.1.27 version: 1.1.28
appVersion: 1.30.2 appVersion: 1.30.2
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.
......
...@@ -25,6 +25,10 @@ spec: ...@@ -25,6 +25,10 @@ spec:
{{ toYaml .Values.podAnnotations | indent 8 }} {{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }} {{- end }}
spec: spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | nindent 8 }}
{{- end }}
serviceAccountName: {{ template "telegraf.serviceAccountName" . }} serviceAccountName: {{ template "telegraf.serviceAccountName" . }}
{{- if .Values.priorityClassName }} {{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }} priorityClassName: {{ .Values.priorityClassName | quote }}
......
...@@ -6,6 +6,7 @@ image: ...@@ -6,6 +6,7 @@ image:
repo: "telegraf" repo: "telegraf"
tag: "1.30-alpine" tag: "1.30-alpine"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
imagePullSecrets: []
## Configure resource requests and limits ## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/ ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources: resources:
......
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