image:
  repository: tccr.io/truecharts/mineos
  pullPolicy: IfNotPresent
  tag: latest@sha256:9544dbcfe7d32ffae7626ef88b4ae4522e0381d15958865a301fed8a10368b4e

securityContext:
  runAsNonRoot: false
  readOnlyRootFilesystem: false

podSecurityContext:
  runAsUser: 0
  runAsGroup: 0

env:
  SERVER_PORT: "{{ .Values.service.main.ports.main.port }}"
  USER_UID: "{{ .Values.security.PUID }}"
  GROUP_GID: "{{ .Values.podSecurityContext.fsGroup }}"
  GROUP_NAME: "{{ .Values.secretEnv.USER_NAME }}"
  # User Defined
  USE_HTTPS: false

secretEnv:
  USER_NAME: "mc"
  USER_PASSWORD: "CHANGE_ME"

service:
  main:
    ports:
      main:
        protocol: HTTP
        targetPort: 10278
        port: 10278
  minecraft-java-tcp:
    enabled: true
    ports:
      mc-port-1-tcp:
        enabled: true
        port: 25565
        targetPort: 25565
      mc-port-2-tcp:
        enabled: true
        port: 25566
        targetPort: 25566
      mc-port-3-tcp:
        enabled: true
        port: 25567
        targetPort: 25567
      mc-port-4-tcp:
        enabled: true
        port: 25568
        targetPort: 25568
      mc-port-5-tcp:
        enabled: true
        port: 25569
        targetPort: 25569
      mc-port-6-tcp:
        enabled: true
        port: 25570
        targetPort: 25570
  minecraft-java-udp:
    enabled: true
    ports:
      mc-port-1-udp:
        protocol: UDP
        enabled: true
        port: 25565
        targetPort: 25565
      mc-port-2-udp:
        protocol: UDP
        enabled: true
        port: 25566
        targetPort: 25566
      mc-port-3-udp:
        protocol: UDP
        enabled: true
        port: 25567
        targetPort: 25567
      mc-port-4-udp:
        protocol: UDP
        enabled: true
        port: 25568
        targetPort: 25568
      mc-port-5-udp:
        protocol: UDP
        enabled: true
        port: 25569
        targetPort: 25569
      mc-port-6-udp:
        protocol: UDP
        enabled: true
        port: 25570
        targetPort: 25570
  minecraft-br:
    enabled: true
    ports:
      br-port-1-udp:
        enabled: true
        port: 19132
        protocol: UDP
        targetPort: 19132
      br-port-2-udp:
        enabled: true
        port: 19133
        protocol: UDP
        targetPort: 19133
      br-port-3-udp:
        enabled: true
        port: 19134
        protocol: UDP
        targetPort: 19134
      br-port-4-udp:
        enabled: true
        port: 19135
        protocol: UDP
        targetPort: 19135
      br-port-5-udp:
        enabled: true
        port: 19136
        protocol: UDP
        targetPort: 19136
      br-port-6-udp:
        enabled: true
        port: 19137
        protocol: UDP
        targetPort: 19137
  minecraft-rcon:
    enabled: true
    ports:
      mc-port-1-rcon:
        enabled: true
        port: 25575
        targetPort: 25575
      mc-port-2-rcon:
        enabled: true
        port: 25576
        targetPort: 25576
      mc-port-3-rcon:
        enabled: true
        port: 25577
        targetPort: 25577
      mc-port-4-rcon:
        enabled: true
        port: 25578
        targetPort: 25578
      mc-port-5-rcon:
        enabled: true
        port: 25579
        targetPort: 25579
      mc-port-6-rcon:
        enabled: true
        port: 25580
        targetPort: 25580

persistence:
  config:
    enabled: true
    mountPath: "/var/games/minecraft"

portal:
  enabled: true
