k3s-cluster/kubernetes/main/apps/game-servers/factorio/helm-release.yaml

74 lines
1.6 KiB
YAML
Raw Normal View History

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
version: 1.3.x
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
image:
2023-04-21 04:46:48 +00:00
repository: goofball222/factorio
tag: "2.0.20"
2023-04-19 23:37:53 +00:00
service:
main:
2023-04-21 05:51:02 +00:00
type: NodePort
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-19 23:37:53 +00:00
ports:
http:
enabled: false
game:
enabled: true
primary: true
port: &game_port 34197
2023-04-22 05:46:34 +00:00
nodePort: 30002
2023-04-19 23:37:53 +00:00
protocol: UDP
rcon:
enabled: true
primary: true
port: &rcon_port 27015
2023-04-22 05:46:34 +00:00
nodePort: 30003
protocol: TCP
2023-04-21 04:46:48 +00:00
env:
TZ: America/New_York
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:
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