chore(deploy): drop node1 slice after devbox decommission

- remove deploy/node1-k3s (workload, ns/secrets, IngressRouteTCP, TrinityIngress
  devbox.trinitysan.by) — node1 Flux glue already pruned it via infra 899ad3e
- README: box2 (node4) + box3 (node5) only; note node1 decommission and PAT origin
- flux/image-automation.yaml: comments now point at node5 glue (automation host)
This commit is contained in:
Ubuntu
2026-11-03 17:22:24 +00:00
parent 9ddbba5aa9
commit 324531872e
7 changed files with 14 additions and 231 deletions
+8 -6
View File
@@ -1,21 +1,23 @@
# cursor-devbox
Personal Cursor Remote-SSH workspace image and GitOps for **node1-k3s** and a second home on **node4-k3s**.
Personal Cursor Remote-SSH workspace image and GitOps for **node4-k3s** (box2) and **node5-k3s** (box3).
- **Image**: `dcr.trinitysan.by/infra/cursor-devbox`
- **Deploy**: `deploy/node1-k3s/` and `deploy/node4-k3s/`
- **Deploy**: `deploy/node4-k3s/` and `deploy/node5-k3s/`
- **Flux image automation**: `flux/` (ImageRepository / ImagePolicy / ImageUpdateAutomation)
Infra on node1 only keeps thin Flux glue (`GitRepository` + Kustomizations + auth SecretAdapters) in `infrastructure/node1-k3s/130-cursor-devbox.yaml`.
Infra glue per cluster lives in the infra repo: `infrastructure/node4-k3s/136-cursor-devbox.yaml`, `infrastructure/node5-k3s/137-cursor-devbox.yaml`. The Gitea PAT (`gitea-cursor-devbox-gitops-token`) originates on node1 (`infrastructure/node1-k3s/130-cursor-devbox.yaml`) and reaches other clusters via the federated-secrets export.
> History: the original node1 devbox (`devbox.trinitysan.by`) was decommissioned 2026-11-03 — data migrated to box3, workload and PVC removed. Image automation moved from node1 to node5 at the same time.
## Access
| Endpoint | Detail |
|----------|--------|
| SSH (node1) | `ssh -p 2222 developer@devbox.trinitysan.by` |
| HTTP health (node1) | `https://devbox.trinitysan.by/` |
| SSH (node4) | `ssh -p 2222 developer@box2.trinitysan.by` |
| HTTP health (node4) | `https://box2.trinitysan.by/` |
| SSH (node5) | `ssh -p 2222 developer@box3.trinitysan.by` |
| HTTP health (node5) | `https://box3.trinitysan.by/` |
## CI
@@ -39,7 +41,7 @@ docker build -t dcr.trinitysan.by/infra/cursor-devbox:local .
1. CI pushes `run_number-sha` to DCR
2. ImageRepository scans; ImagePolicy picks highest `run_number`
3. ImageUpdateAutomation commits the new tag into `deploy/node1-k3s/020-statefulset.yaml` and `deploy/node4-k3s/020-statefulset.yaml`
3. ImageUpdateAutomation commits the new tag into `deploy/node4-k3s/020-statefulset.yaml` and `deploy/node5-k3s/020-statefulset.yaml`
4. Kustomization applies; StatefulSet rolls (active SSH sessions drop)
Requires a Gitea PAT with **read+write** on this repo (`GITEA_CURSOR_DEVBOX_GITOPS_TOKEN` on node1, see infra `060-external-secrets.yaml.template`).