If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
Whenever try to replicate private project between two Harbor instances it finishes with status Success - no resources need to be replicated. Once I make the project to be public, I'm able to replicate all repositories in that project.
Source Harbor uses OIDC method for authentication.
Steps to reproduce the problem:
Once I make the project to be public, I'm able to replicate all repositories in that project.
Versions:
Please specify the versions of following systems.
I have exactly the same problem.
If i look into the harbor log files, it seems like the listing of private repositories is not working.
For public repositories i see lines like:
[DEBUG] [/replication/filter/filter.go:135]: "public_test/ubuntu" doesn't match the pattern "private_test/a*" of name filter, skip
I don't see any similar message for private repositories.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm also facing this issue. Replication of private projects for OIDC backed users does not work.
Edit: same problem for robot accounts
Fixed in https://github.com/goharbor/harbor/pull/12596
You'll be able to do the replication using the username you set for the OIDC user and the CLI secret.
Most helpful comment
I'm also facing this issue. Replication of private projects for OIDC backed users does not work.
Edit: same problem for robot accounts