Skip to content
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

Provide version to RESTMapper in WorkloadIdentityBinding controller #3666

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

mortent
Copy link
Contributor

@mortent mortent commented Nov 19, 2022

This fixes an issue with the WorkloadIdentityBinding controller. The new implementation of the RESTMapper interface that was added in #3567 differs from the regular implementation in that it requires that the version is provided when calling the RESTMapping function. This updates the controller to provide the version when use that function.

We should consider fixing the behavior in the RESTMapper implementation, as this differs from the regular implementation.

@justinsb
Copy link
Contributor

/approve
/lgtm

Agree we should fix it, though I think that it's very rare that we don't care about the version in a controller (?) If that's true, making this an explicit error is not a bad behaviour (?)

@mortent mortent merged commit 9dd01cd into kptdev:main Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants