util/kubernetes/client: set imagePullPolicy to always (#1838)
This commit is contained in:
parent
0287ab8751
commit
73a3f596e8
@ -8,8 +8,6 @@ var templates = map[string]string{
|
|||||||
"serviceaccount": serviceAccountTmpl,
|
"serviceaccount": serviceAccountTmpl,
|
||||||
}
|
}
|
||||||
|
|
||||||
// stripped image pull policy always
|
|
||||||
// imagePullPolicy: Always
|
|
||||||
var deploymentTmpl = `
|
var deploymentTmpl = `
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
@ -86,6 +84,7 @@ 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