-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Phase 2 Plugins should allow for external plugin authors to define metadata and examples #2690
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
Comments
everettraven
added
the
kind/feature
Categorizes issue or PR as related to a new feature.
label
May 16, 2022
/cc @rashmigottipati I would like to work on this if this feature is accepted. |
I think that is great. +1 |
Great idea @everettraven, thanks for creating and working on this issue! |
I believe @theishshah was interested in working on this issue, so I am happy to be a point of contact for this issue and instead have @theishshah assigned to this issue. |
9 tasks
everettraven
added a commit
to everettraven/kubebuilder
that referenced
this issue
Jun 28, 2022
support for external plugins. fixes kubernetes-sigs#2690 Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
everettraven
added a commit
to everettraven/kubebuilder
that referenced
this issue
Jun 29, 2022
support for external plugins. fixes kubernetes-sigs#2690 Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What do you want to happen?
Problem
In the current Phase 2 Plugins implementation, external plugin authors are not able to define the subcommand metadata and examples that are output by Kubebuilder when running something like
kubebuilder init --plugins myexternalplugin/v1 --help
.Instead the output is this general message:
There should be a way for external plugin authors to set the metadata and examples for their external plugin so that Kubebuilder can offer a similar experience to its users for external plugins as it does for the native plugins. For example, the
go/v3
help output is much more descriptive like so:Proposed Solution
I propose that a solution similar to this be implemented:
This would allow external plugin authors to define metadata and examples to show when Kubebuilder shows a help message, or if and external plugin author does not define this logic Kubebuilder can recommend to a user to consult the external plugin documentation for further help.
This allows for Kubebuilder to offer a UX feel similar to the native plugins for Phase 2 Plugins.
Extra Labels
No response
The text was updated successfully, but these errors were encountered: