Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.19.x] Fix related image environment variable discovery #5656

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #5639

/assign ryantking

The related image discovery feature currently only reads environment
variables from the manager container. This was causing an error when the
deployment labels or container name that was expected were not present.
This fixes that by collecting related images from all containers across
all deployments.

This change also enables users to use related images in other containers
since related images from everywhere will be considered.

Signed-off-by: Ryan King <ryking@redhat.com>
Copy link
Member

@jmrodri jmrodri left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 13, 2022
@jmrodri
Copy link
Member

jmrodri commented Apr 13, 2022

@ryantking no need for a second ack, feel free to merge once this passes CI.

@jmrodri
Copy link
Member

jmrodri commented Apr 13, 2022

For posterity, the failed docs sanity check is KNOWN. We will merge this PR regardless of its state. There is a fix in master for the docs sanity check.

@ryantking ryantking merged commit 2f054ab into operator-framework:v1.19.x Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants