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

Add Ansible variable cifmw_openshift_setup_apply_marketplace_fix #2721

Conversation

danpawlik
Copy link
Contributor

On some images (especially on legacy CRC images e.g. 2.30.0), there is no need to run the openshift-marketplace workaround which is removing all the pods from the namespace.
That step might be problematic on old deployments, due the ImagePullPolicy is set to "Always", so after removing the pods when the credentials are vanished, pods would be not recreated.

@danpawlik danpawlik force-pushed the parametrize-marketplace-fix branch 4 times, most recently from 9274111 to 8edf478 Compare February 7, 2025 14:54
@danpawlik danpawlik changed the title Add Ansible variable cifmw_openshift_skip_marketplace_fix Add Ansible variable cifmw_openshift_setup_apply_marketplace_fix Feb 7, 2025
@pablintino
Copy link
Collaborator

I'd say, let's accept this change, create and create a task to delete everything if nothing breaks.

On some images (especially on legacy CRC images e.g. 2.30.0), there
is no need to run the openshift-marketplace workaround which is
removing all the pods from the namespace.
That step might be problematic on old deployments, due the
ImagePullPolicy is set to "Always", so after removing the
pods when the credentials are vanished, pods would be not recreated.

Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
@danpawlik danpawlik force-pushed the parametrize-marketplace-fix branch from 8edf478 to b7b4f6f Compare February 7, 2025 18:05
Copy link
Collaborator

@frenzyfriday frenzyfriday left a comment

Choose a reason for hiding this comment

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

Do we need to set it to true in some jobs (that needs it right now) as soon as this PR merges?

@bshewale
Copy link
Contributor

/approve

Copy link
Contributor

openshift-ci bot commented Feb 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bshewale

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@danpawlik
Copy link
Contributor Author

@frenzyfriday I think it can be disabled now, no need to re-run similar command as it is done already in base job.

@frenzyfriday frenzyfriday enabled auto-merge (rebase) February 10, 2025 09:19
@frenzyfriday frenzyfriday merged commit 4540273 into openstack-k8s-operators:main Feb 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants