Add waiting behavior for PackageRepository/PackageInstalls #237
Labels
carvel accepted
This issue should be considered for future work and that the triage process has been completed
enhancement
This issue is a feature request
Describe the problem/challenge you have
Similar to how kapp has waiting behavior for kapp-controller's App custom resource, kapp should wait for PackageRepository and PackageInstall custom resources.
Currently, PackageRepositories and PackageInstalls will show as successfully created by kapp regardless of whether they have reconciled successfully.
Describe the solution you'd like
When I create/update a PackageRepository/PackageInstall with kapp, kapp should tell me if there is a failure during reconciliation.
Anything else you would like to add:
Steps to reproduce this behavior are to create a PackageRepository/PackageInstall with some misconfiguration that will cause an error during reconciliation.
In the example below for PackageRepo, the image property under imgpkgBundle does not exist. This will cause kapp to successfully create the PackageRepo and no error to be reported during reconciliation.
The kapp-controller App CR can be used as a reference for the expected behavior (i.e. the example for App should produce an error and illustrate how kapp should behave for PackageRepos/PackageInstalls:
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.
The text was updated successfully, but these errors were encountered: