Skip to content

Comments

[release-4.21] OCPSTRAT-2437: add unit test for custom HAProxy image annotation#7646

Open
openshift-cherrypick-robot wants to merge 1 commit intoopenshift:release-4.21from
openshift-cherrypick-robot:cherry-pick-7458-to-release-4.21
Open

[release-4.21] OCPSTRAT-2437: add unit test for custom HAProxy image annotation#7646
openshift-cherrypick-robot wants to merge 1 commit intoopenshift:release-4.21from
openshift-cherrypick-robot:cherry-pick-7458-to-release-4.21

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #7458

/assign mgencur

Refactor TestResolveHAProxyImage to validate that custom HAProxy
images are properly rendered into the final kube-apiserver-proxy.yaml
manifest within the ignition configuration.

The test now:
- Creates a complete NodePoolReconciler with fake client and providers
- Generates the full HAProxy raw config including MachineConfig
- Unmarshals and inspects the nested ignition configuration
- Verifies the HAProxy image appears in the static pod manifest

This provides more robust validation that custom HAProxy images flow correctly through the entire configuration generation pipeline.
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 5, 2026

@openshift-cherrypick-robot: Ignoring requests to cherry-pick non-bug issues: OCPSTRAT-2437

Details

In response to this:

This is an automated cherry-pick of #7458

/assign mgencur

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 openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 5, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • do-not-merge/work-in-progress

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci bot requested review from enxebre and muraee February 5, 2026 12:15
@openshift-ci openshift-ci bot added the area/hypershift-operator Indicates the PR includes changes for the hypershift operator and API - outside an OCP release label Feb 5, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 5, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: openshift-cherrypick-robot
Once this PR has been reviewed and has the lgtm label, please assign devguyio for approval. For more information see the Code Review Process.

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

Details 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

@mgencur
Copy link
Contributor

mgencur commented Feb 5, 2026

/test e2e-aws

@celebdor celebdor requested review from csrwng and jparrill and removed request for enxebre and muraee February 5, 2026 14:12
@mgencur
Copy link
Contributor

mgencur commented Feb 6, 2026

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 6, 2026

@openshift-cherrypick-robot: 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

area/hypershift-operator Indicates the PR includes changes for the hypershift operator and API - outside an OCP release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants