Will Anderson e482059a03 fix(mudcraft): fix LuckPerms init by removing subPath mounts
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.
2026-03-29 20:30:50 -05:00

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.

S
Description
No description provided
Readme
1.4 MiB
Languages
HCL 78.4%
Shell 17.5%
Python 2.6%
Dockerfile 1.5%