Argocd has issues when managing more than 100 namespaces. This issue incl workarounds is tracked here: https://access.redhat.com/solutions/7006291
The intention of this repository is to simulate such a situation for testing the mentioned workarounds
- Openshift 4.12.46
- openshift-gitops-1.11
- generate some instance ids that can be used later by the appset to create multiple instances (if there are none in instances/)
./generate-instances.sh
- Commit and Push to your git repository
-
Create namespaces with appropiate label (scoped argocd is not able to create namespace by itself)
./create-namespaces.sh
-
Create the argocd instance
- Replace CHANGEME occurances in argocd.yaml and appset.yaml
- Add the source repository and privatekey as a secret
oc kustomize argocd-instance/base | oc apply -f-