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

add render related flags/options #186

Closed
bergerx opened this issue Oct 12, 2021 · 1 comment
Closed

add render related flags/options #186

bergerx opened this issue Oct 12, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bergerx
Copy link
Owner

bergerx commented Oct 12, 2021

We can let users choose what t be displayed. Here are some flags that may be implemented:

  • include owners: render owner objects (this is the current default behavior)
  • include dependents: reverse of owners
  • include events
  • include matching services
  • include matching ingresses
  • include app information (e.g helm)
  • cascade render options: apply the same render options when rendering a related object
  • shallow: render only the object itself doesn't query kubernetes API for other resources than the immediate resource, would likely disable most includes
@bergerx bergerx added the enhancement New feature or request label Oct 12, 2021
@bergerx bergerx added this to To do in Code / Architecture via automation Oct 12, 2021
@bergerx
Copy link
Owner Author

bergerx commented Oct 20, 2021

We also need to properly model the cmd struct, here is a good example: https://github.com/knight42/kubectl-blame/blob/master/cmd/blame.go

@bergerx bergerx added this to the v1 milestone Oct 20, 2021
@bergerx bergerx moved this from To do to Next Milestone in Code / Architecture Oct 28, 2021
@bergerx bergerx self-assigned this Nov 1, 2021
@bergerx bergerx moved this from Next Milestone to In progress in Code / Architecture Nov 1, 2021
Code / Architecture automation moved this from In progress to Done Feb 20, 2022
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
Development

No branches or pull requests

1 participant