-
Notifications
You must be signed in to change notification settings - Fork 326
Description
Proposed Feature
argocd-update only waits until a sync operation completes. However, in applications that have no PostSync hooks or sync waves, this will return immediately, as the sync is essentially a kubectl apply of all manifests.
We need something equivalent to the CLI's:
argocd app wait my-app
NOTE: Kargo already has a wait for health functionality. This occurs as part of an "implicit verification" process to ensure an app is healthy before running analysis. However, this process may be happening too late for some use cases.
Motivation
Users often prefer that the app sync and wait happen as part of a promotion, instead of verification. Some use cases:
-
In an app that contains multiple
argocd-updatesfor different microservices (e.g. backend + frontend) as in the "grouped services" pattern, the backend may need to reach health before the frontend is updated -
Post update steps, like notifications, could be sent only after ensuring apps are healthy after the update.