strip image pull policy always

This commit is contained in:
Asim Aslam 2020-01-18 18:37:38 +00:00
parent bdf1d20f4e
commit 31e195bac7

View File

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