util/kubernetes/client: set imagePullPolicy to always (#1838)

This commit is contained in:
ben-toogood 2020-07-14 15:17:23 +01:00 committed by GitHub
parent 0287ab8751
commit 73a3f596e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 . }}