diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f3e222..2963c14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Changelog +### V2.3.0 + +#### Non-Breaking Changes + +- Decoupling hostNetworking from the nodePort service. Introduces hostNetworkEnabled in the base of the values. By default this will still enabled with a standard set of values, but can be individually disabled if needed. [Issue 38](https://github.com/SQLJames/factorio-server-charts/issues/38) + ### V2.2.4 #### Non-Breaking Changes diff --git a/charts/factorio-server-charts/Chart.yaml b/charts/factorio-server-charts/Chart.yaml index fba7fac..cd9e624 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.2.4 +version: 2.3.0 # 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 diff --git a/charts/factorio-server-charts/templates/deployment.yaml b/charts/factorio-server-charts/templates/deployment.yaml index 39bfd56..93b4e12 100644 --- a/charts/factorio-server-charts/templates/deployment.yaml +++ b/charts/factorio-server-charts/templates/deployment.yaml @@ -23,10 +23,8 @@ spec: options: - name: ndots value: '1' - {{- if eq .Values.service.type "NodePort" }} + {{- if .Values.hostNetworkEnabled }} hostNetwork: true - {{- else }} - hostNetwork: false {{- end }} initContainers: - name: volume-permissions-serversettingsconfig diff --git a/charts/factorio-server-charts/values.yaml b/charts/factorio-server-charts/values.yaml index cd30c0d..abb68ea 100644 --- a/charts/factorio-server-charts/values.yaml +++ b/charts/factorio-server-charts/values.yaml @@ -12,6 +12,8 @@ replicaCount: 1 +hostNetworkEnabled: true + securityContext: runAsUser: 0