Interview Prep/GitOps & Argo CD/Environments, ApplicationSets & Multi-Cluster

Some clusters need a different version of an add-on than the rest. How do you handle exceptions without duplicating ApplicationSets?

AdvancedScenarioEnvironments, ApplicationSets & Multi-Cluster
Answer

Situation read → Mostly uniform fleet with a few overrides.

What I'd do →

  1. Put the version in the cluster generator's values with a default, and override via a cluster Secret label (ingress-version: 4.10.1).
  2. Or use a merge generator: cluster generator as the base, a list generator keyed on name overriding revision for the exceptions.
  3. Template uses {{ .values.revision }} (or the label) as targetRevision.

Why → Exceptions live as data, not as copied YAML.

Interview tip → Show the merge generator with mergeKeys: [name].

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

More on Environments, ApplicationSets & Multi-Cluster