# yaml-language-server: $schema=./values.schema.json
image:
  pullPolicy: IfNotPresent
  repository: ghcr.io/ich777/steamcmd
  tag: 7dtd@sha256:637cfee789129cbcf978c5a950fd43a6c255284c2f7c0f7d731e194898c67d21
persistence:
  serverfiles:
    enabled: true
    mountPath: /serverdata/serverfiles
  steamcmd:
    enabled: true
    mountPath: /serverdata/steamcmd

securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsGroup: 0
    runAsUser: 0
service:
  main:
    ports:
      main:
        port: 26900
        protocol: tcp
        targetPort: 26900
  steammasterser:
    enabled: true
    ports:
      mainudp:
        enabled: true
        port: 26900
        protocol: udp
        targetPort: 26900
  raknet:
    enabled: true
    ports:
      raknet:
        enabled: true
        port: 26902
        protocol: udp
        targetPort: 26902
  registeringats:
    enabled: true
    ports:
      registeringats:
        enabled: true
        port: 27015
        protocol: udp
        targetPort: 27015
  steamcommunica:
    enabled: true
    ports:
      steamcommunica:
        enabled: true
        port: 26901
        protocol: udp
        targetPort: 26901
  unet:
    enabled: true
    ports:
      unet:
        enabled: true
        port: 26903
        protocol: udp
        targetPort: 26903
  webbasecontrol:
    enabled: true
    ports:
      webbasecontrol:
        enabled: true
        port: 8080
        protocol: tcp
        targetPort: 8080
  webpanel:
    enabled: true
    ports:
      webpanel:
        enabled: true
        port: 8082
        protocol: tcp
        targetPort: 8082
workload:
  main:
    podSpec:
      containers:
        main:
          env:
            BACKUP_FILES: "false"
            BACKUP_INTERVAL: "60"
            BACKUP_TO_KEEP: "12"
            ENABLE_BEPINEX: "false"
            GAME_ID: "294420"
            GAME_PARAMS: -logfile 7DaysToDie_Data/output_log.txt $@
            PASSWRD: ""
            SERVERCONFIG: serverconfig.xml
            USERNAME: ""
            VALIDATE: "false"
          probes:
            startup:
              failureThreshold: 360
