-
Notifications
You must be signed in to change notification settings - Fork 366
argocd-wait step #5400
Copy link
Copy link
Closed
Labels
area/controllerAffects the (main) controllerAffects the (main) controllerkind/enhancementAn entirely new featureAn entirely new featurepriority/normalThis is the priority for most workThis is the priority for most workworkaroundDiscussion includes a workaround for a common problemDiscussion includes a workaround for a common problem
Milestone
Metadata
Metadata
Assignees
Labels
area/controllerAffects the (main) controllerAffects the (main) controllerkind/enhancementAn entirely new featureAn entirely new featurepriority/normalThis is the priority for most workThis is the priority for most workworkaroundDiscussion includes a workaround for a common problemDiscussion includes a workaround for a common problem
Proposed Feature
argocd-updateonly 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 akubectl applyof all manifests.We need something equivalent to the CLI's:
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 updatedPost update steps, like notifications, could be sent only after ensuring apps are healthy after the update.