crossplane-contrib / provider-argocd

Crossplane provider to provision and manage Argo CD objects
Apache License 2.0
68 stars 35 forks source link

Add ApplicationSet MR #114

Closed sanzoghenzo closed 8 months ago

sanzoghenzo commented 9 months ago

What problem are you facing?

I would like to have the ability to create an ArgoCD ApplicationSet inside a crossplane composition.

My use case is a new workload cluster bootstrap using Argocd and crossplane installed on a control plane cluster.

I have a directory on my IaC repository that contains a bunch of subfolders with kustomizations (but they could be helm charts or simple manifests) for the basic resources I want to have on every cluster I'll create with the composition, and as of now I need to create an application patching the destination cluster for each of the kustomizations.

How could Crossplane help solve your problem?

Add the ApplicationSet MR that creates an ArgoCD ApplicationSet. Obviously, template placeholders needs to stay the same in order to be picked up by ArgoCD.