Skip to content

Conversation

@tthvo
Copy link
Member

@tthvo tthvo commented Jan 27, 2026

The PR is an incremental step to migrate AWS API calls to AWS SDK v2. This focuses on ELB/ELBv2 clients in the pkg/asset and dependent pkg(s).

Note The ELB and ELBv2 clients now use SDK v2 with custom endpoint resolvers that maintain backwards compatibility with SDK v1 service endpoint configurations. Special handling is included for the fact that SDK v1 used the same endpoint identifier ("elasticloadbalancing") for both ELB classic and ELBv2, while SDK v2 uses distinct service IDs.

The commit is an incremental step to migrate AWS API calls to AWS SDK
v2. This focuses on ELB/ELBv2 clients in the pkg/asset and dependent
pkg(s).

The ELB and ELBv2 clients now use SDK v2 with custom endpoint resolvers
that maintain backwards compatibility with SDK v1 service endpoint
configurations. Special handling is included for the fact that SDK v1 used
the same endpoint identifier ("elasticloadbalancing") for both ELB classic
and ELBv2, while SDK v2 uses distinct service IDs.
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 27, 2026
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jan 27, 2026

@tthvo: This pull request references CORS-4055 which is a valid jira issue.

This pull request references CORS-4078 which is a valid jira issue.

Details

In response to this:

The PR is an incremental step to migrate AWS API calls to AWS SDK v2. This focuses on ELB/ELBv2 clients in the pkg/asset and dependent pkg(s).

Note The ELB and ELBv2 clients now use SDK v2 with custom endpoint resolvers that maintain backwards compatibility with SDK v1 service endpoint configurations. Special handling is included for the fact that SDK v1 used the same endpoint identifier ("elasticloadbalancing") for both ELB classic and ELBv2, while SDK v2 uses distinct service IDs.

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 27, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign mtulio 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

@tthvo
Copy link
Member Author

tthvo commented Jan 27, 2026

/cc @barbacbd @yunjiang29

We can see the inspiration for the backwards compact logic here: kubernetes-sigs/cluster-api-provider-aws#5680

@openshift-ci openshift-ci bot requested review from barbacbd and yunjiang29 January 27, 2026 03:23
@tthvo
Copy link
Member Author

tthvo commented Jan 27, 2026

/retest

@tthvo
Copy link
Member Author

tthvo commented Jan 27, 2026

Additional note: ELBv2 is actually the only client used during the install phase to describe load balancer and get its canonical zone for creating Route53 alias record.

I also included a common ELB (classic) client construct, which should be used by the destroy code (later refactor PR).

@tthvo
Copy link
Member Author

tthvo commented Jan 27, 2026

/label platform/aws

@tthvo
Copy link
Member Author

tthvo commented Jan 27, 2026

/test artifacts-images

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 28, 2026

@tthvo: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn-heterogeneous f4d827c link false /test e2e-aws-ovn-heterogeneous

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

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. platform/aws

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants