Today Pulumi pushes everything into the cluster from CI. For the app layer, a pull-based GitOps controller adds:
Drift correction: manual changes (kubectl edit) are detected and reverted. Pulumi only notices them on its next run
Live view: state and health of every app, diff against git, one-click rollback
No cluster credentials in CI for the apps: the cluster pulls its config from git
Standard tooling: Pulumi/Terraform for the foundation plus Argo CD for apps is a common enterprise setup
Enterprise practice: GitOps with a pull-based controller; IaC builds the platform, GitOps deploys what runs on it. (Enterprises often run Argo CD as a hub in a separate management cluster. For one homelab cluster, in-cluster Argo CD is enough: if the cluster dies, Pulumi rebuilds it plus Argo CD, and Argo CD redeploys the apps from git.)
Scope
Pulumi keeps:01, 02, the core of 03 (networking, storage, cert-manager), 06-openbao, and installing Argo CD itself
Argo CD takes over:04-apps first as a pilot; 05-monitoring only after the pilot works well
Each stack moves over completely or not at all: never two tools managing the same resource
Steps
Install Argo CD with Pulumi (Helm chart, pinned version), ingress at argocd.<domain>, admin login via SSO or a strong local password
Secrets from OpenBao with the External Secrets Operator (Kubernetes auth, read-only policy per app)
Repo layout for app manifests (app-of-apps or ApplicationSet), Gitea repo access via a read-only deploy key
Move 04-apps resources to Argo CD: import or recreate them without downtime, then remove them from Pulumi state (pulumi state delete, no destroy)
Turn on automated sync with self-heal and prune
Remove the 04 deploy workflow, or reduce it to a manifest lint/validation job
Runbook: bootstrap after a full cluster rebuild, and how to roll back
The 04 apps are deployed by Argo CD from git, and CI holds no cluster credentials for them
A manual kubectl edit on one of those apps is reverted automatically
A full cluster rebuild (Pulumi 01–03, 06) brings the apps back without manual steps
Portfolio evidence
Screenshot of the Argo CD app tree
Decision record: what stays in Pulumi and what moves to Argo CD, and why
## Why
Today Pulumi pushes everything into the cluster from CI. For the app layer, a pull-based GitOps controller adds:
- **Drift correction:** manual changes (`kubectl edit`) are detected and reverted. Pulumi only notices them on its next run
- **Live view:** state and health of every app, diff against git, one-click rollback
- **No cluster credentials in CI** for the apps: the cluster pulls its config from git
- **Standard tooling:** Pulumi/Terraform for the foundation plus Argo CD for apps is a common enterprise setup
**Enterprise practice:** GitOps with a pull-based controller; IaC builds the platform, GitOps deploys what runs on it. (Enterprises often run Argo CD as a hub in a separate management cluster. For one homelab cluster, in-cluster Argo CD is enough: if the cluster dies, Pulumi rebuilds it plus Argo CD, and Argo CD redeploys the apps from git.)
## Scope
- **Pulumi keeps:** `01`, `02`, the core of `03` (networking, storage, cert-manager), `06-openbao`, and installing Argo CD itself
- **Argo CD takes over:** `04-apps` first as a pilot; `05-monitoring` only after the pilot works well
- Each stack moves over **completely or not at all**: never two tools managing the same resource
## Steps
- [ ] Install Argo CD with Pulumi (Helm chart, pinned version), ingress at `argocd.<domain>`, admin login via SSO or a strong local password
- [ ] Secrets from OpenBao with the External Secrets Operator (Kubernetes auth, read-only policy per app)
- [ ] Repo layout for app manifests (app-of-apps or ApplicationSet), Gitea repo access via a read-only deploy key
- [ ] Move `04-apps` resources to Argo CD: import or recreate them without downtime, then remove them from Pulumi state (`pulumi state delete`, no destroy)
- [ ] Turn on automated sync with self-heal and prune
- [ ] Remove the `04` deploy workflow, or reduce it to a manifest lint/validation job
- [ ] Runbook: bootstrap after a full cluster rebuild, and how to roll back
## Tools
Argo CD, External Secrets Operator, OpenBao, Pulumi.
## Done when
- The `04` apps are deployed by Argo CD from git, and CI holds no cluster credentials for them
- A manual `kubectl edit` on one of those apps is reverted automatically
- A full cluster rebuild (Pulumi `01`–`03`, `06`) brings the apps back without manual steps
## Portfolio evidence
- [ ] Screenshot of the Argo CD app tree
- [ ] Decision record: what stays in Pulumi and what moves to Argo CD, and why
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
Today Pulumi pushes everything into the cluster from CI. For the app layer, a pull-based GitOps controller adds:
kubectl edit) are detected and reverted. Pulumi only notices them on its next runEnterprise practice: GitOps with a pull-based controller; IaC builds the platform, GitOps deploys what runs on it. (Enterprises often run Argo CD as a hub in a separate management cluster. For one homelab cluster, in-cluster Argo CD is enough: if the cluster dies, Pulumi rebuilds it plus Argo CD, and Argo CD redeploys the apps from git.)
Scope
01,02, the core of03(networking, storage, cert-manager),06-openbao, and installing Argo CD itself04-appsfirst as a pilot;05-monitoringonly after the pilot works wellSteps
argocd.<domain>, admin login via SSO or a strong local password04-appsresources to Argo CD: import or recreate them without downtime, then remove them from Pulumi state (pulumi state delete, no destroy)04deploy workflow, or reduce it to a manifest lint/validation jobTools
Argo CD, External Secrets Operator, OpenBao, Pulumi.
Done when
04apps are deployed by Argo CD from git, and CI holds no cluster credentials for themkubectl editon one of those apps is reverted automatically01–03,06) brings the apps back without manual stepsPortfolio evidence