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

How do you pass per-cluster values from cluster Secrets to apps?

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

Put labels or annotations on the cluster Secret (region: eu-west-1, ingress-class: alb) and reference them in the ApplicationSet template through the cluster generator, for example {{ index .metadata.labels "region" }} in a Helm valuesObject or value file path (values-{{ .metadata.labels.region }}.yaml). This keeps per-cluster facts in one place and avoids per-cluster ApplicationSets.

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

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