Just a simple sandbox project to try out Argo CD's applicationset CRD and its generators.
All examples listed below can be tried by applying the corresponding applicationset CR.
kubectl apply -n argocd -f APPSET_YAML
CR_YAML is the path to the corresponding applicationset YAML.
List generator examples
Our application should be deployed to multiple clusters.
kubectl apply -n argocd -f list-generated-clusters.yaml
Our application has a different state per environment, which we illustrate with multiple branches. We deploy those into their own environment-specific namespaces.
kubectl apply -n argocd -f list-generated-environments.yaml
Cluster generator example
kubectl apply -n argocd -f cluster-generated.yaml
Git generator example
kubectl apply -n argocd -f git-generated.yaml
Matrix generator example
Here we combine a git generator with a list generator.
kubectl apply -n argocd -f matrix-generated.yaml