prole/deploy/opentofu/k3s/README.md
chrisfu da2f6600ba feat: infrastructure and installer updates for k3s, OpenTofu, and prole-db
- Add k3s start/stop Ansible playbooks and roles.

- Implement OpenTofu initialization scripts and k8s manifests.

- Update ncurses installer with OpenTofu support and improved k3s integration.

- Add mode support (--mode) to etc/ initialization scripts.

- Update prole-db with recovery, barman objectstore, and SSH OpenBao support.

- Refine k8s manifests for OpenBao and prole-db.
2026-02-05 21:27:18 -08:00

23 lines
583 B
Markdown

# 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:
```bash
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.