goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
24.29k stars 4.77k forks source link

Harbor Replication Rules filter not working as expected when using Huawei SWR as source registry with pull method #21108

Open teckwei opened 1 month ago

teckwei commented 1 month ago

If you are reporting a problem, please make sure the following information are provided:

Expected behavior and actual behavior: I have tried using huawei SWR as source registry and the replication rules filter not working fine here.

expected behavior: it should filter based on the configuration that i setup current behavior: it just download all the repo even replication rules filter apply. I have tried to filter the rules with invalid image name that not available in the repo, end up the repo still download all the repo from Huawei SWR.

image

Remark: I have tried using docker hub as source registry and the replication rules filter working fine here.

Versions: Please specify the versions of following systems.

teckwei commented 1 month ago

Just to add on the context, when i use docker registry as the source registry with huawei swr endpoint and the replication rules filtering is working as expected.