This repository contains example configuration for deploying Argo CD Applications with ApplicationSet Controller.
Tested with ArgoCD v2.5.10
- Kubernetes cluster with
argocd
namespace. - Argo CD deployed in
argocd
namespace. Quick deploy:helm upgrade --install argocd-demo argo/argo-cd -n argocd
. This also deploys the ApplicationSet controller.
Clone the repository and run below command in root of the repository. This will deploy an Application which will deploy the ApplicationSet resource which will end up deploying two "tenant" Applications.
kubectl apply -f top-level-app/TopLevelApplication.yaml -n argocd
Eventually, all applications will get deployed and the Argo CD home page should look like this:
The ApplicationSet deploys two "tenant" apps which are actually Wordpress installation with different values.yaml
for each tenant.
The ApplicationSet is deployed using the Git Files Generator.
Please read the accompanying blog for further explanation.