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

88 lines
2.0 KiB
YAML
Raw Normal View History

2024-01-27 04:49:45 +00:00
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: palworld
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: ghcr.io/jammsen/docker-palworld-dedicated-server
tag: 1ea15dc
env:
TZ: America/New_York
COMMUNITY_SERVER: false
# Game settings
IS_MULTIPLAY: true
DIFFICULTY: Difficult
NIGHTTIME_SPEEDRATE: 0.8 # shorter nights
SERVER_NAME: ThePalFuckers
SERVER_DESCRIPTION: A private Palworld dedi server running on a dedi server
COOP_PLAYER_MAX_NUM: 6 # 4 is default
RCON_ENABLED: true
RCON_PORT: 25575
envFrom:
- secretRef:
name: palworld-server-secret
service:
main:
type: NodePort
# annotations:
# metallb.universe.tf/allow-shared-ip: "main-ip-192.168.87.10"
# metallb.universe.tf/loadBalancerIPs: 192.168.87.10
ports:
http:
enabled: false
game:
enabled: true
primary: true
port: &game_port 8211
2024-01-27 06:11:49 +00:00
nodePort: 32576
2024-01-27 04:49:45 +00:00
protocol: UDP
rcon:
enabled: true
primary: true
port: 25575
nodePort: 32575
protocol: TCP
ingress:
main:
enabled: true
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: factorio
hosts:
- host: "pal.${SECRET_NEW_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
port: *game_port
2024-01-27 05:46:29 +00:00
probes:
startup:
enabled: false
2024-01-27 04:49:45 +00:00
persistence:
data:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/game-servers/palworld
mountPath: /palworld