Skip to content

add container env 'DLC_SPACE_AGE' support #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

### V2.0.1

#### Non-Breaking Changes

- Added `enable_space_age` field to values.yaml to enable or disable Space Age DLC

### V2.0.0

#### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion charts/factorio-server-charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sources:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.0.0
version: 2.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/factorio-server-charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ spec:
value: {{ .Values.factorioServer.generate_new_save | quote }}
- name: LOAD_LATEST_SAVE
value: {{ .Values.factorioServer.load_latest_save | quote }}
- name: DLC_SPACE_AGE
value: {{ .Values.factorioServer.enable_space_age | quote }}
- name: CONFIG
value: /factorio/configs
{{- if .Values.nodeSelector }}
Expand Down
10 changes: 6 additions & 4 deletions charts/factorio-server-charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,16 @@ mods:
## @param factorioServer.update_mods_on_start Update mods on server start
## @param factorioServer.load_latest_save Lets the game know if you want to load the latest save
factorioServer:
# specify a save name
# name to use for the save file
save_name: "replaceMe"
# Generate a New Save
# generate a new save if one does not exist before starting the server
generate_new_save: true
# Update mods on start
# if mods should be updated before starting the server
update_mods_on_start: false
# lets the game know if you want to load the latest save
# load latest when true. Otherwise load SAVE_NAME
load_latest_save: true
# enables or disables the mods for DLC Space Age in mod-list.json
enable_space_age: true

import_save:
# enable save importer
Expand Down
Loading