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 with label source resource filter is not deleting images #21213

Open
AharonIsraelCohen opened this issue Nov 18, 2024 · 2 comments · May be fixed by #21215
Open

replication with label source resource filter is not deleting images #21213

AharonIsraelCohen opened this issue Nov 18, 2024 · 2 comments · May be fixed by #21215

Comments

@AharonIsraelCohen
Copy link

AharonIsraelCohen commented Nov 18, 2024

We are adding label to our images at some point on our ci-cd flow, then we are adding some tag to the image.
At this point the replication (both ACR and ECR ) are replicating the new image tag to the registries.

But what happened when image is deleted?

Expected behavior:
New replication executions should raised and delete the image from remote

Actual behavior:
Nothing happened, the image is deleted from harbor only.

The expected behavior is working when there is no label resource filter in the replication!!

Versions:

  • harbor version: 2.11.1
@AharonIsraelCohen AharonIsraelCohen changed the title replication with label Source resource filter replication with label source resource filter is not deleting images Nov 18, 2024
@chlins
Copy link
Member

chlins commented Nov 19, 2024

So you enabled the Deletion option in the replication policy, and it worked only when no label resource filter?

@AharonIsraelCohen
Copy link
Author

So you enabled the Deletion option in the replication policy, and it worked only when no label resource filter?

Exactly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants