This repo exemplifies the scenario where a central repository is responsible for defining which applications should be deployed. This is achieved by using argocd ApplicationSet
.
Applications to be deployed should be under product-teams/deployment
as a directory.
The definitions of the application itself can live within the application repo. It's kustomizations or helm charts
- Add a new application folder to the
product-teams/deployment
. Each folder becomes an app; - Add The necessary overlays to deploy the application;
- Run
make provision-applications
and watch the applications sync on argocd;
- Excluded folder from
product-teams/deployment
and the application got decomissioned by argocd; - Added a new folder and argocd provisioned the application as expected;