diff --git a/pipeline/backend/kubernetes/pod.go b/pipeline/backend/kubernetes/pod.go index ea6b86c49..61a86ee5c 100644 --- a/pipeline/backend/kubernetes/pod.go +++ b/pipeline/backend/kubernetes/pod.go @@ -44,7 +44,7 @@ func Pod(namespace string, step *types.Step, labels, annotations map[string]stri } } - pullPolicy := v1.PullIfNotPresent + var pullPolicy v1.PullPolicy if step.Pull { pullPolicy = v1.PullAlways }