ArgoCD › App of Apps

How do you structure directories for an App of Apps repo?

Intermediate

Answer

A common layout has a root app pointing at an apps/ (or per-environment) directory of child Application manifests, with each child referencing its own manifests path. Separate directories per environment/cluster let one root per env manage that env's apps cleanly.
gitops/
  root-app.yaml
  apps/
    ingress.yaml
    monitoring.yaml
    service-a.yaml
Real-world example The prod root watches clusters/prod/apps/, a folder of that cluster's child Application manifests.

Common follow-ups: How do you separate environments? | Where do child manifests point?