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

74 lines
1.6 KiB
YAML
Raw Normal View History

2023-04-19 19:37:53 -04:00
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: factorio
2023-04-19 20:00:01 -04:00
namespace: game-servers
2023-04-19 19:37:53 -04: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 00:46:48 -04:00
repository: goofball222/factorio
2023-04-19 19:37:53 -04:00
tag: latest
service:
main:
2023-04-21 01:51:02 -04:00
type: NodePort
2023-04-21 01:51:02 -04:00
# annotations:
# metallb.universe.tf/allow-shared-ip: "main-ip-192.168.87.10"
# metallb.universe.tf/loadBalancerIPs: 192.168.87.10
2023-04-19 19:37:53 -04:00
ports:
http:
enabled: false
game:
enabled: true
primary: true
port: &game_port 34197
2023-04-22 01:46:34 -04:00
nodePort: 30002
2023-04-19 19:37:53 -04:00
protocol: UDP
rcon:
enabled: true
primary: true
port: &rcon_port 27015
2023-04-22 01:46:34 -04:00
nodePort: 30003
protocol: TCP
2023-04-21 00:46:48 -04:00
env:
TZ: America/New_York
FACTORIO_PORT: *game_port
2023-04-21 00:46:48 -04:00
2023-04-19 19:37:53 -04:00
probes:
liveness:
enabled: false
ingress:
main:
enabled: true
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: factorio
hosts:
2023-04-19 22:30:34 -04:00
- host: "fact.${SECRET_NEW_DOMAIN}"
2023-04-19 19:37:53 -04:00
paths:
- path: /
pathType: Prefix
service:
port: *game_port
2023-04-19 19:37:53 -04:00
persistence:
data:
enabled: true
type: hostPath
2023-04-19 19:38:55 -04:00
hostPath: /mnt/MainPool/Kubernetes/game-servers/factorio
mountPath: /factorio