From d0459876782b790fc2439016d1d7ed1990354f9b Mon Sep 17 00:00:00 2001 From: Martin Necas Date: Fri, 18 Oct 2024 10:38:50 +0200 Subject: [PATCH] Add Always pull policy for virt-v2v Signed-off-by: Martin Necas --- pkg/controller/plan/kubevirt.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/controller/plan/kubevirt.go b/pkg/controller/plan/kubevirt.go index af44af2a1..d3b1fb8d0 100644 --- a/pkg/controller/plan/kubevirt.go +++ b/pkg/controller/plan/kubevirt.go @@ -1805,8 +1805,9 @@ func (r *KubeVirt) guestConversionPod(vm *plan.VMStatus, vmVolumes []cnv.Volume, InitContainers: initContainers, Containers: []core.Container{ { - Name: "virt-v2v", - Env: environment, + Name: "virt-v2v", + Env: environment, + ImagePullPolicy: core.PullAlways, EnvFrom: []core.EnvFromSource{ { Prefix: "V2V_",