e482059a03cf33cb51e339c77f25a30910274433
SubPath mounts into plugin directories were causing k8s to create those directories owned by root before the server process could write to them. LuckPerms was failing with "Unable to create libs directory" as a result. Move config injection to the initContainer: it now cleans stale JARs (rm *.jar), copies fresh JARs from the plugins image, and pre-creates the LuckPerms and PurpurExtras directories with configs copied from ConfigMaps. Main container no longer mounts configs via subPath. Also fixes stale JAR accumulation — initContainer now clears old JARs before copying, preventing broken old versions from loading.
infrastructure
Personal infrastructure-as-code for Legion (k3s home server) and supporting tooling.
| Doc | What it covers |
|---|---|
AGENTS.md |
Full reference: machines, secrets, services, domains, namespaces, common operations |
servers/legion/README.md |
What's running on Legion and how deployment works |
servers/legion/RUNBOOK.md |
Disaster recovery — full restore from scratch |
Quick start
cd servers/legion
direnv allow
terraform plan
terraform apply
Push to servers/ to deploy app changes via Argo CD.
Languages
HCL
78.4%
Shell
17.5%
Python
2.6%
Dockerfile
1.5%