Skip to content

Commit

Permalink
fix(factorio): game settings
Browse files Browse the repository at this point in the history
  • Loading branch information
chkpwd committed Jul 5, 2024
1 parent 738c8f6 commit 4a51aff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
17 changes: 7 additions & 10 deletions kubernetes/apps/game-servers/factorio/app/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ spec:
storageClassName: "longhorn-game-servers"

import_save:
enabled: true
source_url: "https://github.com/chkpwd/iac/raw/main/kubernetes/apps/game-servers/factorio/config/init.zip"
reimport_on_change: true
# reimport from the source_url AND OVERWRITE PREVIOUS SAVE every time pod is initialized. good for demos or testing
reimport_every_time: false
enabled: false

mods:
enabled: true
Expand All @@ -76,9 +72,12 @@ spec:
- resources-scanner
- squeak-through-2

map_gen_settings:
seed: "377121039"

factorioServer:
save_name: "chkpwd_factorio"
generate_new_save: true
save_name: "default"
generate_new_save: false
update_mods_on_start: false
load_latest_save: true

Expand All @@ -96,7 +95,7 @@ spec:
- tags
max_players: 5
visibility:
public: true
public: false
lan: true
require_user_verification: true
max_upload_in_kilobytes_per_second: 0
Expand All @@ -119,5 +118,3 @@ spec:
- "chkpwd"
- "ripplefcl"

white_list: []
ban_list: []
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
engineVersion: v2
data:
username: "{{ .factorio_username }}"
password: "{{ .factorio_password }}"
token: "{{ .factorio_token }}"
game_password: "{{ .game_password }}"
dataFrom:
- extract:
Expand Down

0 comments on commit 4a51aff

Please sign in to comment.