From 614ed906ea3369942aeef1a7d5e16d945dfc07ab Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Wed, 4 Oct 2023 18:19:36 -0500 Subject: [PATCH] chore: Set job image pull policy to `IfNotPresent` --- internal/util/cmd_setup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/util/cmd_setup.go b/internal/util/cmd_setup.go index ec81fc39..d60260da 100644 --- a/internal/util/cmd_setup.go +++ b/internal/util/cmd_setup.go @@ -226,7 +226,7 @@ func createJob(cmd *cobra.Command, conf *config.Global, actionName string) error { Name: "kubedb", Image: image, - ImagePullPolicy: corev1.PullAlways, + ImagePullPolicy: corev1.PullIfNotPresent, Command: []string{"sleep"}, Args: []string{"infinity"}, TTY: true,