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_YAMLCR_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.yamlOur 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.yamlCluster generator example
kubectl apply -n argocd -f cluster-generated.yamlGit generator example
kubectl apply -n argocd -f git-generated.yamlMatrix generator example
Here we combine a git generator with a list generator.
kubectl apply -n argocd -f matrix-generated.yaml