From 0cb6495d609903beaaf16813f24442fcefa26a63 Mon Sep 17 00:00:00 2001 From: Kariton <67470612+Kariton@users.noreply.github.com> Date: Tue, 22 Oct 2024 22:53:50 +0200 Subject: [PATCH 1/2] add container env 'DLC_SPACE_AGE' support --- .../factorio-server-charts/templates/deployment.yaml | 2 ++ charts/factorio-server-charts/values.yaml | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/charts/factorio-server-charts/templates/deployment.yaml b/charts/factorio-server-charts/templates/deployment.yaml index 38ece70..23ded48 100644 --- a/charts/factorio-server-charts/templates/deployment.yaml +++ b/charts/factorio-server-charts/templates/deployment.yaml @@ -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 }} diff --git a/charts/factorio-server-charts/values.yaml b/charts/factorio-server-charts/values.yaml index 879deef..bffa9ed 100644 --- a/charts/factorio-server-charts/values.yaml +++ b/charts/factorio-server-charts/values.yaml @@ -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 From 18ca7622c2240143da30c5c9c547565a9312a0e2 Mon Sep 17 00:00:00 2001 From: Kariton <67470612+Kariton@users.noreply.github.com> Date: Wed, 23 Oct 2024 12:19:05 +0200 Subject: [PATCH 2/2] bump version --- CHANGELOG.md | 6 ++++++ charts/factorio-server-charts/Chart.yaml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f051f2..431aded 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/charts/factorio-server-charts/Chart.yaml b/charts/factorio-server-charts/Chart.yaml index d0f3d63..9d41726 100644 --- a/charts/factorio-server-charts/Chart.yaml +++ b/charts/factorio-server-charts/Chart.yaml @@ -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