Skip to content

Commit 8594483

Browse files
committed
Remove explicit PullPolicy
Signed-off-by: Vaishnavi Hire <vhire@redhat.com> (cherry picked from commit 1356b41)
1 parent 10c1b48 commit 8594483

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

controllers/resource_helper.go

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,9 @@ for key in %s; do
348348
done`, CABundleTempPath, CABundleSourceDir, fileList)
349349

350350
return corev1.Container{
351-
Name: CABundleInitName,
352-
Image: image,
353-
ImagePullPolicy: corev1.PullAlways,
354-
Command: []string{"/bin/sh", "-c", script},
351+
Name: CABundleInitName,
352+
Image: image,
353+
Command: []string{"/bin/sh", "-c", script},
355354
// No Args needed since we embed the file list in the script
356355
VolumeMounts: []corev1.VolumeMount{
357356
{
@@ -430,9 +429,8 @@ func configurePersistentStorage(instance *llamav1alpha1.LlamaStackDistribution,
430429
command := strings.Join(commands, " && ")
431430

432431
initContainer := corev1.Container{
433-
Name: "update-pvc-permissions",
434-
Image: image,
435-
ImagePullPolicy: corev1.PullAlways,
432+
Name: "update-pvc-permissions",
433+
Image: image,
436434
Command: []string{
437435
"/bin/sh",
438436
"-c",

0 commit comments

Comments
 (0)