Skip to content

Commit

Permalink
fix: set job image pullpolicy to ifnotpresent (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
hysyeah authored Nov 27, 2024
1 parent df7e011 commit 6665d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apiserver/handler_upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (h *Handler) upgrade(req *restful.Request, resp *restful.Response) {
{
Name: "upgrade",
Image: os.Getenv("JOB_IMAGE"),
ImagePullPolicy: corev1.PullAlways,
ImagePullPolicy: corev1.PullIfNotPresent,
Env: []corev1.EnvVar{
{
Name: "dev_mode",
Expand Down

0 comments on commit 6665d1b

Please sign in to comment.