A simple application with an Argo CD ApplicationSet that dynamically creates preview environments
argocd app create base-app
--project default
--sync-policy automatic
--auto-prune --self-heal
--repo "https://github.com/brandonphillips/preview-environments-example"
--revision HEAD
--path helm
--dest-name in-cluster
--dest-namespace staging
argocd app create appset
--project default
--sync-policy automatic
--auto-prune --self-heal
--repo "https://github.com/brandonphillips/preview-environments-example"
--revision HEAD
--path appset
--dest-name in-cluster
--dest-namespace argocd