Factorio version bump + configurable port. (#547)

* Bump factorio imageTag from 0.14.21 to 0.14.22.

* Make factorio's game server port configurable.

* fix(factorio): change port from string to int
This commit is contained in:
Greg Taylor
2017-03-15 15:48:14 -07:00
committed by Lachlan Evenson
parent f6c53e6717
commit e6ebe2ab7c
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: factorio
version: 0.1.4
version: 0.2.0
description: Factorio dedicated server.
keywords:
- game
@@ -24,6 +24,8 @@ spec:
value: {{ .Values.factorioServer.name | quote }}
- name: FACTORIO_DESCRIPTION
value: {{ .Values.factorioServer.description | quote }}
- name: FACTORIO_PORT
value: {{ .Values.factorioServer.port | quote }}
- name: FACTORIO_MAX_PLAYERS
value: {{ .Values.factorioServer.maxPlayers | quote }}
- name: FACTORIO_IS_PUBLIC
+1 -1
View File
@@ -11,7 +11,7 @@ spec:
type: {{ .Values.factorioServer.serviceType }}
ports:
- name: factorio
port: 34197
port: {{ .Values.factorioServer.port | int }}
targetPort: factorio
protocol: UDP
selector:
+2 -1
View File
@@ -1,7 +1,7 @@
# Factorio image version
# ref: https://quay.io/repository/games_on_k8s/factorio?tab=tags
image: quay.io/games_on_k8s/factorio
imageTag: "0.14.21"
imageTag: "0.14.22"
# Configure resource requests and limits
# ref: http://kubernetes.io/docs/user-guide/compute-resources/
@@ -15,6 +15,7 @@ resources:
factorioServer:
name: Kubernetes Server
description: Factorio running on Kubernetes
port: 34197
# Lock this server down with a password.
#password: change.me
maxPlayers: 255