Skip to content

Commit f60af0b

Browse files
authored
Merge pull request #52 from Kariton/disable-space-age-option
add container env 'DLC_SPACE_AGE' support
2 parents a31d030 + 18ca762 commit f60af0b

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Changelog
22

3+
### V2.0.1
4+
5+
#### Non-Breaking Changes
6+
7+
- Added `enable_space_age` field to values.yaml to enable or disable Space Age DLC
8+
39
### V2.0.0
410

511
#### Breaking Changes

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: 2.0.0
23+
version: 2.0.1
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ spec:
167167
value: {{ .Values.factorioServer.generate_new_save | quote }}
168168
- name: LOAD_LATEST_SAVE
169169
value: {{ .Values.factorioServer.load_latest_save | quote }}
170+
- name: DLC_SPACE_AGE
171+
value: {{ .Values.factorioServer.enable_space_age | quote }}
170172
- name: CONFIG
171173
value: /factorio/configs
172174
{{- if .Values.nodeSelector }}

charts/factorio-server-charts/values.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,16 @@ mods:
146146
## @param factorioServer.update_mods_on_start Update mods on server start
147147
## @param factorioServer.load_latest_save Lets the game know if you want to load the latest save
148148
factorioServer:
149-
# specify a save name
149+
# name to use for the save file
150150
save_name: "replaceMe"
151-
# Generate a New Save
151+
# generate a new save if one does not exist before starting the server
152152
generate_new_save: true
153-
# Update mods on start
153+
# if mods should be updated before starting the server
154154
update_mods_on_start: false
155-
# lets the game know if you want to load the latest save
155+
# load latest when true. Otherwise load SAVE_NAME
156156
load_latest_save: true
157+
# enables or disables the mods for DLC Space Age in mod-list.json
158+
enable_space_age: true
157159

158160
import_save:
159161
# enable save importer

0 commit comments

Comments
 (0)