Registering Argo CD Root Resources Declaratively
This push reworks the homelab Argo CD bootstrap by moving root resource registration into a dedicated Helm release. The old path leaned on a Terragrunt apply hook to hand off the self management manifests, and the new path installs a registration release after the controller release. That turns an imperative handoff into declarative ordering, and it gives the surrounding checks a clearer subject to exercise.
How the Bootstrap Now Registers Root Resources
The Argo CD install unit now installs the controller release and then installs a separate root registration Helm release from the repository owned self management manifests. The registration release runs after the controller release has installed the custom resources it depends on, and it submits the repository owned project and application definitions. On an existing cluster Helm adopts those root resources in place, so the registration step can replace the old handoff without destroying prior state.
What the Updated Checks Now Verify
The pull request static check now looks for changes under the Argo CD self management path, and the Terragrunt apply test now runs the real bootstrap unit instead of comparing generated catalog output and a stubbed apply hook. The documentation now describes the install unit as ordering the controller release before the root registration release and rechecking the source branch before submitting root resources. Those source guards still wait for a live apply run, so the deployment behavior is not yet confirmed by this change.
Where the Registration Pattern Transfers
A platform team running multiple Gitops layers could use the same split between controller installation and root registration. A registration release that rechecks the source branch and waits for the controller can apply root resources declaratively, and the keep annotation on those resources lets the registration release be deleted while leaving the root resources in place.