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
api: add plural exception for "parameters" #123936
api: add plural exception for "parameters" #123936
Conversation
This is for ResourceClassParameters and ResourceClaimParameters (added in 1.30). Without this, the fake clientset does not handle those objects correctly because it computes the resource name incorrectly ("resourceclassparameterses").
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: pohly The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign @liggitt |
xref previous attempts to expand this function in #110053 I'm -1 on adding more things to this list for the same reasons indicated in that issue. Changes here affects all apimachinery callers ... instead, this should be motivation to fix how fake clients are told the resource name to use (e.g. attempts in #119924) |
Ack. Is there any short-term workaround? I need the fake client to handle |
I found a workaround:
/close |
@pohly: Closed this PR. In response to this:
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. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
This is for ResourceClassParameters and ResourceClaimParameters (added in 1.30). Without this, the fake clientset does not handle those objects correctly because it computes the resource name
incorrectly ("resourceclassparameterses").
Which issue(s) this PR fixes:
Nothing affected in the wild (yet).
Does this PR introduce a user-facing change?