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 endpoints/rules question #243

Open
perezjasonr opened this issue Aug 31, 2021 · 2 comments
Open

Replication endpoints/rules question #243

perezjasonr opened this issue Aug 31, 2021 · 2 comments

Comments

@perezjasonr
Copy link

In the docs it states:

If the namespace does not exist in the destination registry, a new namespace is created automatically. If it already exists and the user account that is configured in the replication policy does not have write privileges in it, the process fails. Member information is not replicated.

how does it determine which credentials are needed for the artifacts that come over?

I ask because the values of the harbor helm chart, under registry have, for example:

credentials:
    username: "user"
    password: "password"

but thats not working when I try to pull after a replication. I tried the admin creds, and that worked. What determines which creds it gets?

@perezjasonr
Copy link
Author

after some testing i concluded that if it makes a new namespace/project it only has admin user. I dont see a way for replication to reference a user to allow permissions.

@a-mccarthy
Copy link
Collaborator

Hello @perezjasonr hope you were able to resolve your issue. Is there a way that we should make the docs more clear? thanks!

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

No branches or pull requests

2 participants