-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Custom resource links #2561
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Currently, the
<ENTER>
press is handled for some resources by displaying related resources.For all the other resources, the
<ENTER>
press is handled by displaying the resource describe.That's not intuitive for custom resources, where some kind of relations might be defined - e.g. ExternalSecrets from ESO and related secrets.
Describe the solution you'd like
I'd like to have an option to define a custom behaviour for the
<ENTER>
press based on the selected resource.It would be based on source and target GVR, also with some kind of relation/filtering definition.
Describe alternatives you've considered
As relations like Deployment -> Pods are already built-in in k9s, not all resources could be handled in the same way.
There's custom resource definitions, and it's not possible to define all of them in k9s, especially those close-sources.
Additional context
The definition could look like this, as is currently implemented in #2562:
The text was updated successfully, but these errors were encountered: