Change klipper-helm to PullIfNotPresent

PullAlways ImagePullPolicy causes issues with offline/airgap support,
so only pull if image is not already present.
This commit is contained in:
Erik Wilson 2019-03-22 00:05:28 +00:00
parent 78d75fb15b
commit 8d57fbd430

View File

@ -158,7 +158,7 @@ func job(chart *k3s.HelmChart) (*batch.Job, *core.ConfigMap) {
{ {
Name: "helm", Name: "helm",
Image: image, Image: image,
ImagePullPolicy: core.PullAlways, ImagePullPolicy: core.PullIfNotPresent,
Args: args(chart), Args: args(chart),
Env: []core.EnvVar{ Env: []core.EnvVar{
{ {