How do you coordinate hooks across multiple Applications (e.g., App of Apps)?
Short answer
Ordering across separate Applications isn't governed by a single sync's waves/hooks; you coordinate via the parent (App of Apps) sync waves on the child Application resources, or by splitting concerns so prerequisites are their own app synced first.
Advertisement
AModel answer
Ordering across separate Applications isn't governed by a single sync's waves/hooks; you coordinate via the parent (App of Apps) sync waves on the child Application resources, or by splitting concerns so prerequisites are their own app synced first. Within one app, waves/hooks order resources; across apps, order the Application CRs themselves.
Example
# Parent app annotates child Applications with sync-wave to order them
Real-world example
The parent app syncs the 'infra' child Application (wave 0) before the 'workloads' child (wave 1) so shared CRDs exist first.
Likely follow-ups
- Do waves span multiple Applications? | How do you order child apps?
Related topics