diff --git a/charts/factorio-server-charts/templates/service.yaml b/charts/factorio-server-charts/templates/service.yaml index 4e8c0be..308fc56 100644 --- a/charts/factorio-server-charts/templates/service.yaml +++ b/charts/factorio-server-charts/templates/service.yaml @@ -34,7 +34,7 @@ spec: port: {{ .Values.service.port }} protocol: UDP {{- if eq .Values.service.type "NodePort" }} - nodePort: {{ .Values.service.port }} + nodePort: {{ .Values.service.nodePort }} {{- end }} selector: app: {{ template "factorio-server-charts.fullname" . }}