Do not set Pod's Image pull policy if not explicitly set (#1914)

This commit is contained in:
Thomas Anderson
2023-07-07 21:02:13 +03:00
committed by GitHub
parent b4acbafffc
commit cef135eba5

View File

@@ -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 { if step.Pull {
pullPolicy = v1.PullAlways pullPolicy = v1.PullAlways
} }