Skip to content

Commit e7fd232

Browse files
author
James Rhoat
authored
Merge pull request #28 from SQLJames/bug/password
Bug fix - game password not being properly set through init container
2 parents ee09ae6 + 275c22a commit e7fd232

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/factorio-server-charts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sources:
2020
# This is the chart version. This version number should be incremented each time you make changes
2121
# to the chart and its templates, including the app version.
2222
# Versions are expected to follow Semantic Versioning (https://semver.org/)
23-
version: 1.2.1
23+
version: 1.2.2
2424

2525
# This is the version number of the application being deployed. This version number should be
2626
# incremented each time you make changes to the application. Versions are not expected to

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)