From 4f81ac070baf4f4ee68de1957c1abdd3b694aa1e Mon Sep 17 00:00:00 2001 From: ttinkr <34622932+ttinkr@users.noreply.github.com> Date: Tue, 2 Jun 2020 16:09:48 +0200 Subject: [PATCH] imagePullSecrets in injector-deployment (#298) Co-authored-by: ttinkr --- templates/injector-deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/injector-deployment.yaml b/templates/injector-deployment.yaml index 1c5b951..9ab89f1 100644 --- a/templates/injector-deployment.yaml +++ b/templates/injector-deployment.yaml @@ -104,4 +104,8 @@ spec: secret: secretName: "{{ .Values.injector.certs.secretName }}" {{- end }} + {{- if .Values.global.imagePullSecrets }} + imagePullSecrets: + {{- toYaml .Values.global.imagePullSecrets | nindent 8 }} + {{- end }} {{ end }}