mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 15:04:31 +00:00
Without this, kubectl apply without -n flag lands in default namespace instead of monitoring, leaving the live configmap with the old knoe-auth hostname. |
||
|---|---|---|
| .. | ||
| argocd | ||
| manifests | ||
| main.tf | ||
| opentofu.auto.tfvars | ||
| README.md | ||
| variables.tf | ||
OpenTofu k3s Pipeline
This pipeline re-deploys the Knoe environment into a k3s cluster using OpenTofu.
Usage
- Ensure
opentofu.auto.tfvarsis populated (install.py will generate it). - Sync manifests into
deploy/opentofu/k3s/manifests. - 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 Knoe install/config.manifests/: Copy ofk8s/manifests to re-deploy.