-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Make multiple different Argo CD projects using a single repository #9581
Comments
We have the same problem and it is causing many troubles for devs. Also I think the project of each repo should be showed in argocd UI (setting > repositories). |
I think a lot of Argo CD code assumes that a repo (of a given URL) is a repo. I agree, we should provide a mechanism to use the same repo using different credentials. It would take some work on the backend, but should be possible. |
Has there been any update on this? I also got this issue, and wouldn't appreciate if there has been a mechanism. |
Hi,
What can i do to use the same repository in many projects? |
Hi, Just encountered this behavior. We're splitting our environments with Regards. |
Any updates? I've been facing the same issue already mentioned here |
Is it idea similar to Google Anthos multi-repo ? |
Hi there, since there any update to the issue is there any workaround? Thank you |
Hi, Is there a workaround that people are using for this? |
You can use global repos and limit access with approj (the old way). Though this renders the whole point of scoped repositories useless |
as mentioned by m-yosefpor, you can use global repo and chose the repository in the project.
|
Hi, is there any way to make different Thank you |
Hi, is there going to be modifications to the management of git repository connections? It would create conflict and confusion among users that have access to separate projects and would like to connect to the same repositories. |
Hi, see #18290 - let me know what you think |
Reopening since that was the spec that got merged, not the actual implementation :) |
Summary
The developers should be able to define the repositories on their own. That is why we use scoped repositories in this case. Now it can happen that developers out of two different Argo CD projects use the same repository even with different repository credentials. As you know it is impossible to define a repository twice. I would say it is a problem for us that a repo can't be defined twice or more times. As I understood you use the repo URL as the key to refer to it.
Why it is not possible to use the repo URL and the Argo CD project it is bound to as a key?
Are there other possibilities to achieve that two different Argo CD projects use same repository without bother the admins of Argo CD? For example with a dedicated RBAC rule?
Motivation
That would also be of help in the following: Imaging a Argo CD project which is able to deploy its code on development and integration but not on production. The deployment on to production will be handled by a different Argo CD project using the same repository as the developers in the first project.
Proposal
As I understood you use the repo URL as the key to refer to it.
Why it is not possible to use the repo URL and the Argo CD project it is bound to as a key?
The text was updated successfully, but these errors were encountered: