prole/deploy/opentofu/k3s
chrisfu 2244d6acd6 Refactor iSCSI Synology mounts to /synology/d00x
- Rename host mount namespace from /prole/d00x to /synology/d00x

- Make LUN ownership explicit per host in inventory (myrddin=d001; merlin=d002,d004; pi=d003)

- Add safe migration cleanup for legacy /prole/d00x mounts and stale /etc/fstab entries

- Update k3s/ArgoCD/OpenTofu manifests and PV node affinities to match new mount paths

- Improve iSCSI role check-mode behavior and add quiesce/detach flow in ansible.sh
2026-03-21 10:43:06 -07:00
..
argocd Refactor infrastructure, installer, and deployment configs: expanded CloudNativePG and PostgREST init scripts, updated ArgoCD/OpenTofu/K8s manifests (ingress, kustomization, postgrest, prole-db), added installer config helpers and revised cluster UI, updated prole.cfg and prole.sh, simplified Makefile, added env helper tests, removed stale spec/log files, added prole/ directory 2026-02-23 21:19:19 -08:00
manifests Refactor iSCSI Synology mounts to /synology/d00x 2026-03-21 10:43:06 -07:00
main.tf feat: Add GitOps (Gitea) and Supabase integration, plus database options 2026-02-26 18:32:15 -08:00
opentofu.auto.tfvars Fix installer path portability (avoid hardcoded /Users paths) 2026-03-09 16:55:49 -07:00
README.md feat: infrastructure and installer updates for k3s, OpenTofu, and prole-db 2026-02-05 21:27:18 -08:00
terraform.tfstate Add prole.spec and extend OpenTofu k3s configuration 2026-02-24 21:47:02 -08:00
variables.tf Add prole.spec and extend OpenTofu k3s configuration 2026-02-24 21:47:02 -08:00

OpenTofu k3s Pipeline

This pipeline re-deploys the Prole environment into a k3s cluster using OpenTofu.

Usage

  1. Ensure opentofu.auto.tfvars is populated (install.py will generate it).
  2. Sync manifests into deploy/opentofu/k3s/manifests.
  3. Run:
tofu init
tofu plan
tofu apply

Files

  • main.tf: Applies Kubernetes manifests with the configured namespace.
  • variables.tf: Pipeline inputs (server URL, token, namespace).
  • opentofu.auto.tfvars: Auto-generated values from Prole install/config.
  • manifests/: Copy of k8s/ manifests to re-deploy.