Files
homelab-gitops/apps/minecraft-paper/values.yaml
T

43 lines
1.1 KiB
YAML

# Stage PostgreSQL first. Enable the game and Dynmap only after the byobu
# server is stopped and a final host database dump has been restored.
server:
enabled: false
nodeSelector:
kubernetes.io/hostname: arschrock
data:
hostPath: /home/feedc0de/mcserver
service:
type: LoadBalancer
annotations:
metallb.io/address-pool: default
mikrotik.brunner.ninja/router: newgw
mikrotik.brunner.ninja/forwardings: '[{"name":"tcp","servicePort":"minecraft","dstAddressList":"WANs"}]'
additionalServices:
arschrock:
spec:
type: ClusterIP
externalIPs:
- 10.12.4.170
- 192.168.0.2
dynmap:
route:
enabled: false
host: brunner.ninja
postgresql:
enabled: true
auth:
username: minecraft
database: minecraft
existingSecret: paper-postgres
secretKeys:
adminPasswordKey: postgres-password
userPasswordKey: database-password
primary:
persistence:
storageClass: rook-ceph-block-ec
size: 8Gi
persistentVolumeClaimRetentionPolicy:
enabled: true
whenDeleted: Retain
whenScaled: Retain