We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee09ae6 commit 7a5c8c0Copy full SHA for 7a5c8c0
charts/factorio-server-charts/templates/deployment.yaml
@@ -52,7 +52,7 @@ spec:
52
fi
53
54
if [ -f "/gamePassword/game_password" ]; then
55
- jq -M --rawfile game_password /gamePassword/game_password '.game_password=(game_password|gsub("[\\n\\t]"; ""))' /factorio/configs/server-settings.json > /tmp/server-settings.json && mv /tmp/server-settings.json /factorio/configs/server-settings.json
+ jq -M --rawfile game_password /gamePassword/game_password '.game_password=($game_password|gsub("[\\n\\t]"; ""))' /factorio/configs/server-settings.json > /tmp/server-settings.json && mv /tmp/server-settings.json /factorio/configs/server-settings.json
56
57
#sleep 100
58
chown -vR factorio:factorio /factorio
0 commit comments