Skip to content

Conversation

gdlx
Copy link
Contributor

@gdlx gdlx commented May 19, 2025

Issue

#4186

Description

Fixes a case style error in the IngressClassParams CRD field prefixListIDs and mixed use of plural and singular "PrefixListsIDs" and "PrefixListIDs".

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the docs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯

  • Backfilled missing tests for code in same general area 🎉
  • Refactored something and made the world a better place 🌟

@k8s-ci-robot k8s-ci-robot requested a review from oliviassss May 19, 2025 08:18
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 19, 2025
@k8s-ci-robot k8s-ci-robot requested a review from shraddhabang May 19, 2025 08:18
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 19, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @gdlx. 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 /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.

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.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 19, 2025
@gdlx
Copy link
Contributor Author

gdlx commented May 19, 2025

Hi @zac-nixon,
I've made a typo in #3860 you've merged 2 months ago.
It makes the CRD unusable so maybe this PR worth a bug release.

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 19, 2025
@gdlx gdlx changed the title Fix case of prefixListIDs IngressClassParams field Fix prefixListIDs typos May 19, 2025
@gdlx
Copy link
Contributor Author

gdlx commented May 19, 2025

I've added another typo fix on the mixed use of plural and singular "Lists" in "PrefixListsIDs".

Really sorry for the mess 😖

@zac-nixon
Copy link
Collaborator

Hey @gdlx sorry for missing this during the review. As we've already shipped the CRD, we can't change the name used, as that's a breaking API change. Not following what you mean the CRD is unusable

@gdlx
Copy link
Contributor Author

gdlx commented May 20, 2025

Hi @zac-nixon,
I can confirm that it actually works by using PrefixListsIDs. However, I feel bad about not complying with the standard, and I'm not sure if people have been able to use it yet, since the documentation shows the expected spec.prefixListIDs.:
https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/guide/ingress/ingress_class/#specprefixlistids

Can you confirm if you prefer just fixing the doc ?
Or maybe accept both prefixListIDs and PrefixListsIDs, but I don't like this more...(requires more dirty code)

@gdlx
Copy link
Contributor Author

gdlx commented May 20, 2025

I just pushed a commit reverting my previous fixes to only fix the doc.
You may just merge it if you prefer this option.

@gdlx gdlx force-pushed the hotfix/fix-prefix-list-param branch from 0db6f2b to 9bdf97c Compare May 20, 2025 09:10
@zac-nixon
Copy link
Collaborator

Thanks, it's unfortunate but I think this is the correct option. This one is on me for not checking that the field conformed to Kubernetes standards.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gdlx, zac-nixon

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 20, 2025
@zac-nixon
Copy link
Collaborator

/lgtm
/approved

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 20, 2025
@zac-nixon zac-nixon merged commit 72b5b14 into kubernetes-sigs:main May 20, 2025
1 of 2 checks passed
@k8s-ci-robot
Copy link
Contributor

@gdlx: 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
pull-aws-load-balancer-controller-e2e-test 9bdf97c link true /test pull-aws-load-balancer-controller-e2e-test

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@gdlx
Copy link
Contributor Author

gdlx commented Jun 18, 2025

Hi @zac-nixon,
One late but last question about this: as the CRD is still in v1beta1, should I send a PR to propertly fix the field case as I initially proposed here, to be included in a future v1 or v1beta2 CRD ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants