Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replication filter - exclude by name/label #20875

Open
djdongjin opened this issue Aug 23, 2024 · 1 comment
Open

Replication filter - exclude by name/label #20875

djdongjin opened this issue Aug 23, 2024 · 1 comment
Labels
help wanted The issues that is valid but needs help from community kind/requirement New feature or idea on top of harbor

Comments

@djdongjin
Copy link

Is your feature request related to a problem? Please describe.

I want to exclude images in a specific repo from being replicated, while all other images can be replicated as usual. However:

  1. Name doesn't support excluding.
  2. We cannot change Tag as we use its format for other purpose.
  3. Excluding Label doesn't work as expected: it seems I have to push the image first and then add a label to the image. But before I add a label, the image push event already triggers a replication task and starts the replication.

I'm using push-based, event-based replication.

Describe the solution you'd like

  1. Support excluding Name in replication source filter. (ideally)
  2. Or make excluding Label work in push-based, event-based replication. (as suggested in Replication filter - exclude by name #20253 (comment), which doesn't quite work in my experiment).

Describe the main design/architecture of your solution
A clear and concise description of what does your solution look like. Rich text and diagrams are preferred.

Describe the development plan you've considered
A clear and concise description of the plan to make the solution ready. It can include a development timeline, resource estimation, and other related things.

Additional context
Add any other context or screenshots about the feature request here.

@MinerYang MinerYang added kind/requirement New feature or idea on top of harbor help wanted The issues that is valid but needs help from community labels Aug 26, 2024
@Vad1mo
Copy link
Member

Vad1mo commented Aug 27, 2024

Duplicate of #18723

@Vad1mo Vad1mo marked this as a duplicate of #18723 Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted The issues that is valid but needs help from community kind/requirement New feature or idea on top of harbor
Projects
None yet
Development

No branches or pull requests

3 participants