Skip to content

Conversation

@Pacho20
Copy link
Contributor

@Pacho20 Pacho20 commented Dec 18, 2025

- Description of the problem which is fixed/What is the use case
This fixes issues where worker nodes run a different OCP version than the control plane. This can cause issues with the DaemonSet installation mode.
- What I did
Introduced new image component logic. By default, the control plane version is used for all images, but based on the provider, it is now possible to get any component image for any version. Each node now receives a separate image string, and environment variable names include the node name to ensure uniqueness.
- How to verify it
Deploy the Operator in DaemonSet mode. Verify that installation pods use the correct image for each node.
- Description for the changelog
Support node-specific extension images in DaemonSet mode

@openshift-ci openshift-ci bot requested review from snir911 and wainersm December 18, 2025 16:11
@openshift-ci
Copy link

openshift-ci bot commented Dec 18, 2025

Hi @Pacho20. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 18, 2025
@gkurz
Copy link
Member

gkurz commented Jan 12, 2026

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 12, 2026
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 12, 2026
@Pacho20 Pacho20 force-pushed the fix-ibmcloud-worker-versioning-operator branch from d240e3f to 2ea754c Compare January 15, 2026 15:10
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 15, 2026
httpClient := &http.Client{Transport: transport}

u.RawQuery = url.Values{
"channel": []string{fmt.Sprintf("%s-%d.%d", "stable", semanticVersion.Major(), semanticVersion.Minor())},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Something I’ve been thinking about recently: I essentially restricted the channel to stable, which may not be the best solution. I guess this would prevent testing on new releases that haven’t reached the stable channel yet.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, it should at least be fast or maybe even candidate.

GetImageForComponent and the extension image logic will change.
Splitting this out will make future changes easier to track.

Signed-off-by: Patrik Fodor <[email protected]>
Added an optional version parameter and related parameters to
GetImageForComponent to retrieve images for components with
specific versions. Introduced a helper function to get release
info for a specific OCP version. Introduced caching for the
images to reduce the number of calls to collect release info.

Signed-off-by: Patrik Fodor <[email protected]>
Introduce the GetNodeImages method, which uses the new
GetImageForComponent function and provider-specific logic to retrieve
the correct extension images for nodes.

Signed-off-by: Patrik Fodor <[email protected]>
Modify DaemonSets and installation scripts to use the new image
component logic. From now on, the Operator provides separate image
strings for each node. The environment variable names include the node
name, making them distinct and preventing the wrong image from being
used for a node. This is required for installation pods to work
correctly during worker node updates when nodes have different
versions.

Signed-off-by: Patrik Fodor <[email protected]>
@Pacho20 Pacho20 force-pushed the fix-ibmcloud-worker-versioning-operator branch from 2ea754c to a66dac8 Compare January 29, 2026 09:17
@openshift-ci
Copy link

openshift-ci bot commented Jan 29, 2026

@Pacho20: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants