https://github.com/kostis-codefresh/application-dependency-argocd
Application dependencies in Argo CD
https://github.com/kostis-codefresh/application-dependency-argocd
Last synced: 3 months ago
JSON representation
Application dependencies in Argo CD
- Host: GitHub
- URL: https://github.com/kostis-codefresh/application-dependency-argocd
- Owner: kostis-codefresh
- Created: 2024-08-13T15:52:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-19T10:23:56.000Z (over 1 year ago)
- Last Synced: 2025-10-30T21:49:47.723Z (7 months ago)
- Size: 6.84 KB
- Stars: 6
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example for application depedencies in Argo CD
If you use the app-of-apps pattern in Argo CD all applications are deployed in parallel.
Sometimes however you want to deploy them in order
First instruct Argo CD that you want to monitor application health
```
$ kubectl patch cm/argocd-cm --type=merge -n argocd --patch-file patch-argocd-cm.yaml
```
Then put [sync waves](https://argo-cd.readthedocs.io/en/stable/user-guide/sync-waves/) on your apps.
See the [example folder](apps).
Finally deploy all apps
```
kubectl apply -f all-apps.yml
```
For the full details read the blog post at [https://codefresh.io/blog/argo-cd-application-dependencies/](https://codefresh.io/blog/argo-cd-application-dependencies/).