Deploying to the Dell's cluster from Argo CD on x1
Registered a second cluster and added a root app-of-apps.
I want one Argo CD, on the x1 management cluster, to deploy to both clusters.
Access to the Dell cluster. I didn’t want Argo CD using the K3s admin client certificate, which can’t be revoked. So I created a ServiceAccount, argocd-manager, with a cluster role binding and a long-lived token Secret on the Dell cluster. If I need to cut Argo CD off, I delete that account.
Then I registered the Dell cluster in Argo CD with that token.
A root app. Committing a new Application file to Git did nothing on its own. Something has to watch the folder. I added a root Application, homelab-apps, that points at the folder of Application manifests. New files there now become Applications automatically.
I also fixed two smaller things: the Silo init job now runs as a PostSync hook, and Kaneo’s Application has pruning on.
After the push, every Application showed Synced and Healthy, including the runner on the Dell cluster.