fix(mudcraft): substitute LP_PASSWORD in LuckPerms config at init time

LuckPerms reads config.yml as a literal string — ${LP_PASSWORD} was
never being substituted, causing auth failures against PostgreSQL.
initContainer now has the secret injected as an env var and uses sed
to write the real password into the config before LuckPerms reads it.

Also adds faultexception to WHITELIST so they can connect.
This commit is contained in:
Will Anderson
2026-03-29 20:41:39 -05:00
parent 8588def1ab
commit 63d54d9ea0
2 changed files with 9 additions and 2 deletions
@@ -22,6 +22,7 @@ data:
ENFORCE_WHITELIST: "true"
WHITELIST_ENABLED: "true"
OPS: "faultexception"
WHITELIST: "faultexception"
ENABLE_RCON: "true"
RCON_PORT: "25575"
MOTD: "MUDCraft — Private Beta"