Skip to content

Commit eb1171e

Browse files
registry/reconciler: use appropriate image pull policy for catalog
Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent dc0c564 commit eb1171e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: pkg/controller/registry/reconciler/reconciler.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,10 @@ func Pod(source *operatorsv1alpha1.CatalogSource, name, opmImg, utilImage, img s
285285
Args: []string{"/bin/copy-content", fmt.Sprintf("%s/copy-content", utilitiesPath)},
286286
VolumeMounts: []corev1.VolumeMount{utilitiesVolumeMount},
287287
}, corev1.Container{
288-
Name: "extract-content",
289-
Image: img,
290-
Command: []string{utilitiesPath + "/copy-content"},
288+
Name: "extract-content",
289+
Image: img,
290+
ImagePullPolicy: image.InferImagePullPolicy(img),
291+
Command: []string{utilitiesPath + "/copy-content"},
291292
Args: []string{
292293
"--catalog.from=" + grpcPodConfig.ExtractContent.CatalogDir,
293294
"--catalog.to=" + fmt.Sprintf("%s/catalog", catalogPath),

0 commit comments

Comments
 (0)