kpt
kpt copied to clipboard
Add listing and filtering functionalities on
To have better support on monitoring status of packages, the following features are added:
- Listing functionality that allows users to see status of currently applied packages by adding --list flag.
- Filtering options on both inventory name and namespace, allowing users to check status of targeted resources more easily by using --inv-name and --namespace flags.
- Filtering options on status, allowing users to figure out which packages are in certain status with --status command this only works for table format now but will support other output format in the future.
@mortent @droot This PR is not a small changed to kpt's fork of cli-utils. What is our plan about this fork going forward?
IMO we should keep our fork as minimal as possible.
/cc @karlkfi @mortent
@mortent @droot This PR is not a small changed to kpt's fork of cli-utils. What is our plan about this fork going forward?
IMO we should keep our fork as minimal as possible.
@chunglu-chou, This PR should be made against the https://github.com/kubernetes-sigs/cli-utils repo instead.
It also needs tests, which there's scaffolding for in the examples repo of cli-utils.
Once we validate and merge it in cli-utils, we can cut a new release and make PR to bump it in kpt.
@karlkfi Sure, I will discuss this with Nan and Mortent, since I wrap some existing functions in the cli-utils in this PR, so I would probably need to rewrite some of them and test it.