Requested by @Tgr (T341553#10358629) from work on T380575: Make SUL3 authentication domain mode available from CLI.
This is easy enough to implement by passing variables through a values entry; the only question is whether it's a good idea to support it at all (I think so) and whether there need to be limits (do maintenance scripts still work properly if you pass an arbitrary value to $SERVER_NAME? what about $MW_INSTALL_PATH?).
My inclination is to basically trust mwscript-k8s operators with this, the same way we trust them with plenty of other ways to make mistakes; it's more likely to be useful on purpose as a debugging tool than it is to be invoked accidentally and cause problems.