cnoe-io / idpbuilder

Spin up a complete internal developer platform with only Docker required as a dependency.
https://cloud-native.slack.com/archives/C05TN9WFN5S
Apache License 2.0
200 stars 59 forks source link

Feature: Example using ArgoCD ApplicationSet scm provider (git) generator #290

Open csantanapr opened 5 months ago

csantanapr commented 5 months ago

Have you searched for this feature request?

Problem Statement

currently CNOE backstage template do the registration of the ArgoCD and this API doesn't support all the fields.

Possible Solution

I think using ApplicationSet to generate the ArgoCD App when a new git repo is created by backstage will allow more flexibility on the way we generate/register the ArgoCD App or group or Apps using scm provider (git) generator https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Generators-SCM-Provider/

Update the reference implementations to use this patterns vs. registering with backstage template

We need to check if this would work with gitea

Alternatives Considered

No response

nabuskey commented 5 months ago

The AWS ref implementation uses it. Maybe we can start with it: https://github.com/cnoe-io/reference-implementation-aws/blob/main/setups/argocd/application-set.yaml

When I was working on this, it worked well with GitHub but I had trouble with Gitea. Maybe it's gotten better.