carvel-dev / carvel-dev/kapp

Selectively override ownership while using --dangerous-override-ownership-of-existing-resources

Open
#993 1 comment 0 reactions 0 assignees View on GitHub
carvel accepted enhancement
Dominant language
Go
Stars
1.1k
Forks
134
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem/challenge you have**
I want my `kapp` app to snatch ownership from existing resources belonging to another app.
However, I only want this to happen if the resource belongs to specific apps.

**Describe the solution you'd like**
i would like to able to pick which `kapp` apps I snatch ownership from. Probably by using a "filter-in" filter.
For example. `kapp deploy --ownership-override-allowed-apps "oldapp,olderapp" --dangerous-override-ownership-of-existing-resources`.

**Anything else you would like to add:**
We will run into a few limitations here.
First, as of today we cannot easily search for an "app name" if I know the app ID on a resource, without listing all the apps.
Secondly, to avoid privilege escalations, for the time being we will only be able to use this filter for apps in the same namespace.

---
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.