strip image pull policy always
This commit is contained in:
parent
bdf1d20f4e
commit
31e195bac7
@ -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 . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user