You can read more about argocd application sets here.
The argocd applicationset in this repo deploys the bgd and pacman apps from the following repository, the appsets branch.
To deploy the applicationset, you can run the appproject and applicatioset objects, by running the yaml files in application-sets and app-projects directories seperately or run the kustomization file in the deploy folder to include both at the same time.
oc apply -k deploy/
To delete the applications, you can delete the created argo applicationset and the appproject.
- To view the exising appsets and appprojetcs:
oc get applicationset -n openshift-gitops
oc get appproject -n openshift-gitops
The appset is called demo-app-set and the appproject is called demo-app-project.
- To delete:
oc delete applicationset demp-app-set -n openshift-gitops
oc delete appproject demo-app-project -n openshift-gitops