- Notifications
You must be signed in to change notification settings - Fork 1.6k
Set maximum length for custom load-balancer-name #2195
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
Set maximum length for custom load-balancer-name #2195
Conversation
| Hi @bnutt. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
| @bnutt, thanks a bunch for your contribution. Would you be able contribute similar changes to the ALB as well?
|
| /ok-to-test |
Codecov Report
@@ Coverage Diff @@ ## main #2195 +/- ## ========================================== + Coverage 52.36% 52.39% +0.02% ========================================== Files 133 133 Lines 7253 7257 +4 ========================================== + Hits 3798 3802 +4 Misses 3158 3158 Partials 297 297
Continue to review full report at Codecov.
|
| /retest |
| @kishorj I am not entirely sure if e2e tests are failing because of my changes or if it's environment related, do you have any pointers? |
| /retest |
doesn't look related to your changes. I will look into it if it fails again. Could you also rebase the PR to get the recent changes? |
AWS only allows loadbalancer names with a length up to 32 characters, this change trims the length of the provided value when a custom load balancer name is provided.
6e65632 to 08277aa Compare
Done. |
| [APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bnutt, kishorj 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 |
| /lgtm |
| I think we should change this logic we shouldn't trim the LB name silently if it exceeds 32. |
PR #2295 |
* Set maximum length for custom load-balancer-name AWS only allows loadbalancer names with a length up to 32 characters, this change trims the length of the provided value when a custom load balancer name is provided. * Trim length for custom lb name for ALBs
Issue
Description
AWS only allows loadbalancer names with a length up to 32 characters, this change trims the length of the provided value when a custom load balancer name is provided.
Checklist
README.md, or thedocsdirectory)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯