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, "service": serviceTmpl,
} }
// stripped image pull policy always
// imagePullPolicy: Always
var deploymentTmpl = ` var deploymentTmpl = `
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
@ -63,7 +66,6 @@ spec:
- {{.}} - {{.}}
{{- end }} {{- end }}
image: {{ .Image }} image: {{ .Image }}
imagePullPolicy: Always
ports: ports:
{{- with .Ports }} {{- with .Ports }}
{{- range . }} {{- range . }}