kapp icon indicating copy to clipboard operation
kapp copied to clipboard

Use kapp config to orphan delete resources

Open praveenrewar opened this issue 2 years ago • 1 comments

Describe the problem/challenge you have Currently if we want to remove resources from a kapp app, we have to either manually remove the kapp labels from the app or first add the orphan-delete strategy annotation to the resources and then delete them, thus requiring 2 deploys.

Describe the solution you'd like We would want a way to specify which resources to be orphan deleted using the kapp config. This would help us in removing resources from a app in one deploy command only.

Anything else you would like to add: This would be beneficial when a resource present in a package needs to be removed from the package (but not from the cluster) in a subsequent version of a package.


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.

praveenrewar avatar Jul 28 '22 15:07 praveenrewar

Add an example so that it will be easy to triage when somebody picks it up

rohitagg2020 avatar Aug 19 '22 06:08 rohitagg2020