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

84 lines
No EOL
1.9 KiB
YAML

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
nodePort: 38211
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
persistence:
data:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/game-servers/palworld
mountPath: /palworld