Interview Prep/GitOps & Argo CD/ApplicationSets, Rollouts & Image Updater

Manual edits to an Application owned by an ApplicationSet (for example a changed `targetRevision`) keep getting reverted.

BeginnerTroubleshootingApplicationSets, Rollouts & Image Updater
Answer

Likely causes → The ApplicationSet controller owns the full spec and regenerates it on every reconcile.

Diagnose → kubectl -n argocd get app web -o yaml | yq '.metadata.ownerReferences'.

Fix → Change the value in the ApplicationSet template or generator data. If a field must be editable per app, list it in ignoreApplicationDifferences:

spec:
  ignoreApplicationDifferences:
    - jsonPointers:
        - /spec/source/targetRevision

Prevent → Tell teams that generated apps are read-only and changes go through the set.

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

More on ApplicationSets, Rollouts & Image Updater