2024-06-15 19:37:56 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2023-04-19 23:37:53 +00:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: factorio
|
2023-04-20 00:00:01 +00:00
|
|
|
namespace: game-servers
|
2023-04-19 23:37:53 +00:00
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-08-29 17:22:12 +00:00
|
|
|
version: 3.4.x
|
2023-04-19 23:37:53 +00:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjws-charts
|
|
|
|
namespace: flux-system
|
|
|
|
|
|
|
|
values:
|
|
|
|
image:
|
2023-04-21 04:46:48 +00:00
|
|
|
repository: goofball222/factorio
|
2024-07-20 18:31:37 +00:00
|
|
|
tag: "1.1.109"
|
2023-04-19 23:37:53 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
2023-04-21 05:51:02 +00:00
|
|
|
type: NodePort
|
2023-04-21 05:33:21 +00:00
|
|
|
|
2023-04-21 05:51:02 +00:00
|
|
|
# annotations:
|
2024-06-15 20:28:06 +00:00
|
|
|
# metallb.universe.tf/allow-shared-ip: "main-ip-192.168.10.70"
|
|
|
|
# metallb.universe.tf/loadBalancerIPs: 192.168.10.70
|
2023-04-21 05:33:21 +00:00
|
|
|
|
2023-04-19 23:37:53 +00:00
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
game:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
2023-04-21 05:08:16 +00:00
|
|
|
port: &game_port 34197
|
2023-04-22 05:46:34 +00:00
|
|
|
nodePort: 30002
|
2023-04-19 23:37:53 +00:00
|
|
|
protocol: UDP
|
|
|
|
|
2023-04-21 05:08:16 +00:00
|
|
|
rcon:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
port: &rcon_port 27015
|
2023-04-22 05:46:34 +00:00
|
|
|
nodePort: 30003
|
2023-04-21 05:08:16 +00:00
|
|
|
protocol: TCP
|
|
|
|
|
2023-04-21 04:46:48 +00:00
|
|
|
env:
|
|
|
|
TZ: America/New_York
|
2023-04-21 05:20:31 +00:00
|
|
|
FACTORIO_PORT: *game_port
|
2023-04-21 04:46:48 +00:00
|
|
|
|
2023-04-19 23:37:53 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: factorio
|
|
|
|
hosts:
|
2023-04-20 02:30:34 +00:00
|
|
|
- host: "fact.${SECRET_NEW_DOMAIN}"
|
2023-04-19 23:37:53 +00:00
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
service:
|
2023-04-21 05:08:16 +00:00
|
|
|
port: *game_port
|
2023-04-19 23:37:53 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
type: hostPath
|
2023-04-19 23:38:55 +00:00
|
|
|
hostPath: /mnt/MainPool/Kubernetes/game-servers/factorio
|
|
|
|
mountPath: /factorio
|