Skip to content

Commit f3a6387

Browse files
authored
Merge pull request #68 from SQLJames/feature/decouplingHostNetwork
decoupling the hostnetwork from nodeport service designation
2 parents f76d1d0 + ab58bfd commit f3a6387

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Changelog
22

3+
### V2.3.0
4+
5+
#### Non-Breaking Changes
6+
7+
- 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)
8+
39
### V2.2.4
410

511
#### Non-Breaking Changes

charts/factorio-server-charts/Chart.yaml

+1-1
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.2.4
23+
version: 2.3.0
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

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ spec:
2323
options:
2424
- name: ndots
2525
value: '1'
26-
{{- if eq .Values.service.type "NodePort" }}
26+
{{- if .Values.hostNetworkEnabled }}
2727
hostNetwork: true
28-
{{- else }}
29-
hostNetwork: false
3028
{{- end }}
3129
initContainers:
3230
- name: volume-permissions-serversettingsconfig

charts/factorio-server-charts/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
replicaCount: 1
1414

15+
hostNetworkEnabled: true
16+
1517
securityContext:
1618
runAsUser: 0
1719

0 commit comments

Comments
 (0)