Interview Prep/GitOps & Argo CD/Sync Behaviour, Waves & Hooks

Two Applications both include the same `Namespace` manifest and keep flipping ownership. How do you fix the design?

BeginnerScenarioSync Behaviour, Waves & Hooks
Answer

Situation read → Shared resource, SharedResourceWarning.

What I'd do →

  1. Give the Namespace one owner: a platform app or CreateNamespace=true with managedNamespaceMetadata in exactly one app.
  2. Remove it from the other app's manifests.
  3. Enable FailOnSharedResource=true to catch future duplicates.

Why → One resource, one owner; otherwise each sync overwrites the other's labels.

Interview tip → Explain that the tracking annotation shows which app currently "owns" it.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Sync Behaviour, Waves & Hooks