carvel-dev / carvel-dev/imgpkg

Provide a way to configure which packages are copied and which not

Open
#282 10 comments 1 reaction 0 assignees View on GitHub
discussion enhancement
Dominant language
Go
Stars
284
Forks
70
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem/challenge you have**
When relocating (imgpkg copy) a packagerepository that is old and has too many old versions into a new cluster/datacenter, we might know that old versions are never going to be used, so we want to blacklist them from copying over, so that size of images in destination repository and process of copying is improved.

**Describe the solution you'd like**
I would like to have a Config file that could have a blacklist/whitelist of packages that would be copied so that in the destination only the copied versions would exist and only the images for the specified package versions are copied.

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

Research direction

Start by reviewing the imgpkg copy workflow and how configuration is currently handled. Clarify the blacklist and whitelist semantics, including package versions and precedence, then define acceptance cases showing which images are copied and which are omitted from the destination repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.