Skip to content

Commit

Permalink
fix imagepulljob imagePullPolicy=Always does not take effect
Browse files Browse the repository at this point in the history
Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
  • Loading branch information
zmberg authored and furykerry committed Nov 19, 2024
1 parent 26a07e2 commit 3e225bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/imagepulljob/imagepulljob_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ func (r *ReconcileImagePullJob) syncNodeImages(job *appsv1alpha1.ImagePullJob, n
PullPolicy: pullPolicy,
OwnerReferences: []v1.ObjectReference{*ownerRef},
CreatedAt: &now,
ImagePullPolicy: job.Spec.ImagePullPolicy,
})
}
utilimagejob.SortSpecImageTags(&imageSpec)
Expand Down

0 comments on commit 3e225bb

Please sign in to comment.