We should be able to pull text files from the deployment host (where mwscript-k8s is executed) into a ConfigMap-provided Volume to make them available to the maintenance script.
As a workaround in the meantime for new and updated scripts, instead of reading from a file in the container, read from stdin and use mwscript-k8s --attach to pipe in the contents of the file on the deployment host.
To use scripts like attachAccount.php that take a filename on the command line, without modifying the code, passing --userlist php://stdin should work (not tested).