We have a namespace consisting of 3 applications:
- Database patcher
- API
- Web site
Currently we are using ArgoCD app-of-apps pattern to roll this out. Each application above is therefore it's own ArgoCD application.
I want the database patcher to be rolled out before the other two applications and I want the entire deployment of all applications to halt if the database patcher fails.
Is this possible with app-of-apps pattern?
asked Oct 16 at 16:27
Jonas Røineslien
7258 silver badges21 bronze badges
-
faun.pub/managing-database-migrations-in-argocd-b54d2a29a554Daniel A. White– Daniel A. White2025年10月16日 16:58:58 +00:00Commented Oct 16 at 16:58
-
That works fine with one Argo application. In my case I have 3 Argo applications. It doesn't look like there is any relationship between these applications so there is not really a way to say that App 2 depends on the success of App 1Jonas Røineslien– Jonas Røineslien2025年10月17日 06:33:39 +00:00Commented Oct 17 at 6:33
-
If I put all services (jobs, api's, web sites) into one helm deployment and one ArgoCD application it seems to work as the database job is marked with preSync hook. But arranging the applications as multiple helm deployments and argo applications does not seem to work.Jonas Røineslien– Jonas Røineslien2025年10月17日 06:59:27 +00:00Commented Oct 17 at 6:59
lang-yaml