mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 02:34:30 +00:00
- 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.
23 lines
583 B
Markdown
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.
|