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

securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsGroup: 0
    runAsUser: 0
service:
  cubeport:
    enabled: true
    ports:
      cubeport:
        enabled: true
        port: 27018
        protocol: udp
        targetPort: 27018
  main:
    ports:
      main:
        port: 27015
        protocol: udp
        targetPort: 27015
  queryport:
    enabled: true
    ports:
      queryport:
        enabled: true
        port: 27016
        protocol: udp
        targetPort: 27016
workload:
  main:
    podSpec:
      containers:
        main:
          env:
            GAME_ID: "824360"
            GAME_PARAMS: ?MaxPlayers=10
            GAME_PARAMS_EXTRA:
              -QueryPort=27016 -Port=27015 -CubePort=27018 -NoBattlEye
              -nosteamclient -game -server -log
            MAP: CubeWorld_Light
            PASSWRD: ""
            SERVER_NAME: PIXARKDocker
            SRV_ADMIN_PWD: adminDocker
            SRV_PWD: Docker
            USERNAME: ""
            VALIDATE: "false"
          probes:
            liveness:
              enabled: false
            readiness:
              enabled: false
            startup:
              enabled: false
