Skip to content

Commit 33ab476

Browse files
authored
Changed volume uploader pod image pull policy to "Always" (#2852)
1 parent 01b5c3e commit 33ab476

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

pkg/k8s/persistent_volumes.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,13 @@ func runWithVolumeMounted(ctx context.Context, podImage string, podCommand []str
128128
SecurityContext: defaultPodSecurityContext(),
129129
Containers: []corev1.Container{
130130
{
131-
Name: podName,
132-
Image: podImage,
133-
Stdin: true,
134-
StdinOnce: true,
135-
WorkingDir: volumeMntPoint,
136-
Command: podCommand,
131+
Name: podName,
132+
Image: podImage,
133+
ImagePullPolicy: corev1.PullAlways,
134+
Stdin: true,
135+
StdinOnce: true,
136+
WorkingDir: volumeMntPoint,
137+
Command: podCommand,
137138
VolumeMounts: []corev1.VolumeMount{
138139
{
139140
Name: pVol,

0 commit comments

Comments
 (0)