Skip to content

Commit 7a5c8c0

Browse files
author
James.rhoat
committed
missing $ for variable in JQ syntax
1 parent ee09ae6 commit 7a5c8c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/factorio-server-charts/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spec:
5252
fi
5353
fi
5454
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
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
5656
fi
5757
#sleep 100
5858
chown -vR factorio:factorio /factorio

0 commit comments

Comments
 (0)