Added factorio

This commit is contained in:
Jonathan Ervine
2020-08-12 12:32:21 +08:00
parent a51dd0615b
commit 56d66cf204
13 changed files with 433 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
{{- if default "" .Values.factorioServer.rcon.enabled }}
apiVersion: v1
kind: Service
metadata:
name: "{{ template "factorio.fullname" . }}-rcon"
labels:
app: {{ template "factorio.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
type: {{ .Values.factorioServer.rcon.serviceType }}
ports:
- name: rcon
port: {{ .Values.factorioServer.rcon.port }}
targetPort: rcon
protocol: TCP
selector:
app: {{ template "factorio.fullname" . }}
{{- end }}