68 lines
1.4 KiB
YAML
68 lines
1.4 KiB
YAML
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: factorio
|
|
namespace: game-servers
|
|
spec:
|
|
interval: 5m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 1.3.x
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjws-charts
|
|
namespace: flux-system
|
|
|
|
values:
|
|
image:
|
|
repository: goofball222/factorio
|
|
tag: latest
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
enabled: false
|
|
|
|
game:
|
|
enabled: true
|
|
primary: true
|
|
port: &game_port 34197
|
|
targetPort: *game_port
|
|
protocol: UDP
|
|
|
|
rcon:
|
|
enabled: true
|
|
primary: true
|
|
port: &rcon_port 27015
|
|
targetPort: *rcon_port
|
|
protocol: TCP
|
|
|
|
env:
|
|
TZ: America/New_York
|
|
PORT: *game_port
|
|
|
|
probes:
|
|
liveness:
|
|
enabled: false
|
|
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: factorio
|
|
hosts:
|
|
- host: "fact.${SECRET_NEW_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
service:
|
|
port: *game_port
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
type: hostPath
|
|
hostPath: /mnt/MainPool/Kubernetes/game-servers/factorio
|
|
mountPath: /factorio |