diff --git a/util/kubernetes/client/templates.go b/util/kubernetes/client/templates.go index e3681539..7132c23c 100644 --- a/util/kubernetes/client/templates.go +++ b/util/kubernetes/client/templates.go @@ -5,6 +5,9 @@ var templates = map[string]string{ "service": serviceTmpl, } + +// stripped image pull policy always +// imagePullPolicy: Always var deploymentTmpl = ` apiVersion: apps/v1 kind: Deployment @@ -63,7 +66,6 @@ spec: - {{.}} {{- end }} image: {{ .Image }} - imagePullPolicy: Always ports: {{- with .Ports }} {{- range . }}