`ApplicationGenerationFromParamsError: failed to execute go template ...: map has no entry for key "cluster"`.
IntermediateTroubleshootingApplicationSets, Rollouts & Image Updater
Answer
Likely causes → With goTemplate: true and goTemplateOptions: ["missingkey=error"], the template references a key the generator does not produce. Cluster generator keys are name, server, metadata.labels.<key>; the git directory generator produces path.*.
Diagnose → Print the generator output by temporarily templating a ConfigMap, or check the generator's documented parameters.
Fix → Use the right key ({{.name}} not {{.cluster}}); with a matrix generator, check that the child generator providing the key is actually there.
Prevent → Keep missingkey=error; it catches typos instead of creating apps named <no value>.
More on ApplicationSets, Rollouts & Image Updater
The ApplicationSet status shows `ApplicationSet argocd/team-apps contains applications with duplicate name: web`.BeginnerA git outage made the git generator return nothing, and the ApplicationSet deleted all its Applications and their workloads.AdvancedManual edits to an Application owned by an ApplicationSet (for example a changed `targetRevision`) keep getting reverted.BeginnerA newly registered cluster gets no Applications from a cluster-generator ApplicationSet.IntermediateThe SCM provider generator stops discovering repos, with `GET https://api.github.com/orgs/org/repos: 403 API rate limit exceeded`.IntermediatePull request generator preview environments are not created for new PRs.Intermediate