Interview Prep/GitOps & Argo CD/ApplicationSets, App-of-Apps & Multi-Cluster

How do you stop an ApplicationSet from overwriting manual changes to a generated Application?

AdvancedConceptApplicationSets, App-of-Apps & Multi-Cluster
Answer

Either use applicationsSync: create-only/create-delete, or list fields to ignore with ignoreApplicationDifferences:

spec:
  ignoreApplicationDifferences:
    - jsonPointers:
        - /spec/syncPolicy
    - name: web-prod
      jqPathExpressions:
        - .spec.source.helm.parameters

This lets operators pause auto-sync on one generated app during an incident without the ApplicationSet controller restoring it.

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

More on ApplicationSets, App-of-Apps & Multi-Cluster