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

Customizable workload resources via config file #3012

Open
lacroixthomas opened this issue Dec 4, 2024 · 3 comments
Open

Customizable workload resources via config file #3012

lacroixthomas opened this issue Dec 4, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@lacroixthomas
Copy link




Is your feature request related to a problem? Please describe.
Currently I have would like to list more resources in the workload view, as CRDs, helmreleases, externalsecrets or anything but they are currently hardcoded

Describe the solution you'd like
Having the current resources as default resources for the workload view but also having it customizable via a config file

We could have something generic on the workload's dao to show the status, ready and validity

Adding a new customizable field on the config for the workloadGVRs, if not set it would use the default ones but if set it would override them

The configuration would have information about how to show the data (readiness, status, validity)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Having an other view specifically for these scenario and keeping the workload view as it is

Additional context
I'm currently working on a PR about that, don't hesitate if you've got any feedback or issue about this feature
Thanks !

(I really enjoy using k9s ! Keep going !)

@derailed derailed added the enhancement New feature or request label Dec 8, 2024
@GreenRover
Copy link

+1

@lacroixthomas
Copy link
Author

@derailed Hello, I've open the draft PR, I'm still working on it (still quite some stuff to cleanup / documentations etc.)
I wanted to ask you, do you have a way to generate the k9s.json schema for the config ? I didn't see anything from the Makefile ?
Thanks !

@lacroixthomas
Copy link
Author

I've updated the schema for the k9s.json manually, but maybe it could be nice to have a way to generate it automatically by using the Makefile or similar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants