-
Notifications
You must be signed in to change notification settings - Fork 440
Validate groups list. #1143
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
Comments
I believe controller-gen should be able to verify this string while generating the webhook manifests, and ensure that the group is actually a group, and not a group version. This feels to me like a valuable validation to add, to help our users out |
Seems reasonable. Feel free to open a PR. Could be probably done roughly in this area of the code: #1128 |
I created #1144 |
/close xref #1144 (comment) |
@sbueringer: Closing this issue. 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-sigs/prow repository. |
I had accidentally added the version to the group:
groups=example.com/v1beta1
Broken:
After removing "v1beta1" it worked.
Good:
It would be nice if the controller-tools would detect that.
The text was updated successfully, but these errors were encountered: