carvel-dev / carvel-dev/kapp-controller
`kctrl package installed delete` has no `--wait` option
- Dominant language
- Go
- Stars
- 323
- Forks
- 127
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 6
Description
**Describe the problem/challenge you have**
I want to handle myself the waiting for both installation and removal of a package.
During installation I can provide the `--wait=false` flag to the `kctrl package install` command, but unfortunately such an option is not available to the `kctrl package installed delete` command.
**Describe the solution you'd like**
The same `--wait` flag should be made available to `kctrl package installed delete` command, too, and make the command behave accordingly:
`true` (default): the command returns only after the package has been completely removed, like it's behaving as of today;
`false`: the command returns immediately with exit code 0 and should completely detach from the uninstall process that's been taken care of by kapp-controller.
**Anything else you would like to add:**
---
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
Contributor guide
Research direction
Start at the `kctrl package installed delete` command entry point and compare its handling with `kctrl package install --wait=false`. Verify the default waits for complete removal, while `--wait=false` returns successfully without waiting for kapp-controller's uninstall process; run the relevant command tests if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100