From 73a3f596e8de3caf9052b56e4642f9e64e1616c8 Mon Sep 17 00:00:00 2001 From: ben-toogood Date: Tue, 14 Jul 2020 15:17:23 +0100 Subject: [PATCH] util/kubernetes/client: set imagePullPolicy to always (#1838) --- util/kubernetes/client/templates.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/kubernetes/client/templates.go b/util/kubernetes/client/templates.go index d2f8a6f1..829d6415 100644 --- a/util/kubernetes/client/templates.go +++ b/util/kubernetes/client/templates.go @@ -8,8 +8,6 @@ var templates = map[string]string{ "serviceaccount": serviceAccountTmpl, } -// stripped image pull policy always -// imagePullPolicy: Always var deploymentTmpl = ` apiVersion: apps/v1 kind: Deployment @@ -86,6 +84,7 @@ spec: - {{.}} {{- end }} image: {{ .Image }} + imagePullPolicy: Always ports: {{- with .Ports }} {{- range . }}