How does the cluster generator work?
IntermediateConceptApplicationSets, App-of-Apps & Multi-Cluster
Answer
It produces one parameter set per cluster Secret in the argocd namespace (and the local cluster when no selector excludes it). Parameters include name, nameNormalized, server, metadata.labels.<key> and metadata.annotations.<key>, plus any values you define:
generators:
- clusters:
selector:
matchLabels:
env: prod
values:
revision: v2.3.0
Labeling a cluster Secret env=prod instantly adds every prod app to it.
More on ApplicationSets, App-of-Apps & Multi-Cluster
What problem does an ApplicationSet solve?BeginnerList the ApplicationSet generators.BeginnerShow a list generator example.BeginnerCompare the git directory and git files generators.IntermediateWhat is a matrix generator and what are its limits?IntermediateWhat is the merge generator used for?Advanced