Skip to content

Conversation

kevinrizza
Copy link
Member

When the change to use the copy content sidecar container was added for the extract content option it properly set the ifNotPresent pull policy for the bundle image, but the actual server container is getting the wrong value and is not based on the opm image passed to the catalog operator. This commit updates the main registry server container to variably set the container to pull only if not present.

@openshift-ci openshift-ci bot requested review from joelanford and perdasilva June 12, 2025 19:27
When the change to use the copy content sidecar container was added for the extract content option it properly set the ifNotPresent pull policy for the bundle image, but the actual server container is getting the wrong value and is not based on the opm image passed to the catalog operator. This commit updates the main registry server container to variably set the container to pull only if not present.

Signed-off-by: kevinrizza <[email protected]>
@kevinrizza kevinrizza force-pushed the set-image-pull-policy-extract-container branch from 39e5887 to 88df972 Compare June 12, 2025 19:31
ExtractContent: &v1alpha1.ExtractContentConfig{
CacheDir: "/tmp/cache",
CatalogDir: "/catalog",
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catcher 👍
I think we should have that now.

@joelanford joelanford enabled auto-merge June 12, 2025 21:29
@joelanford joelanford added this pull request to the merge queue Jun 12, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 12, 2025
@camilamacedo86 camilamacedo86 added this pull request to the merge queue Jun 12, 2025
Merged via the queue into operator-framework:master with commit 86838d6 Jun 12, 2025
16 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants