Answer
Sync options modify apply behavior, set via the Application or resource annotations. Common ones: Prune=false (don't delete), Validate=false (skip schema validation), CreateNamespace=true (auto-create target namespace), ApplyOutOfSyncOnly=true (only apply changed resources), ServerSideApply=true, and Replace=true (use replace instead of apply).
syncPolicy:
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
- ServerSideApply=trueReal-world example CreateNamespace=true lets an app provision its own namespace on first sync without a separate manifest.