Skip to content

Commit

Permalink
add: udp port
Browse files Browse the repository at this point in the history
  • Loading branch information
deB4SH committed Nov 7, 2024
1 parent b2baeac commit 4199499
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charts/factorio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ spec:
name: {{.Release.Name}}-secret
ports:
- containerPort: 34197
name: game
name: gameTCP
protocol: TCP
- containerPort: 34197
name: gameUDP
protocol: UDP
- containerPort: 27015
name: rcon
volumeMounts:
Expand Down
4 changes: 4 additions & 0 deletions charts/factorio/templates/service-loadbalancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ spec:
protocol: TCP
port: 34197
targetPort: 34197
- name: game
protocol: UDP
port: 34197
targetPort: 34197
selector:
app: {{lower .Release.Name}}

0 comments on commit 4199499

Please sign in to comment.