Hi experts, as a part of backstage system creation...
# general
p
Hi experts, as a part of backstage system creation template, we are creating gitlab repositories for each system. We would like to register the same repository in the ArgoCD as one of the steps within the backstage system creation template. We aren't able to find ArgoCD API that can add the repo url to ArgoCD. Please let me know if anyone has done that before.
s
You will need to add them a k8s
secret
resource and label them as a repository. Here's an example
h
Just an addition to Sibu’s comment, in case all repos are under the same path, you can make use of Repository Credentials as an umbrella secret for all repos.