# yaml-language-server: $schema=./values.schema.json
image:
  pullPolicy: IfNotPresent
  repository: ghcr.io/ich777/steamcmd
  tag: hurtworld@sha256:c12cb82fa4a2e2e4a214241428469a88bb52993634f2a3a2097259c63d1acac9
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: 12871
        protocol: udp
        targetPort: 12871
  queryport:
    enabled: true
    ports:
      queryport:
        enabled: true
        port: 12881
        protocol: udp
        targetPort: 12881
workload:
  main:
    podSpec:
      containers:
        main:
          env:
            GAME_ID: "405100"
            GAME_PARAMS: ;autosaveenabled 1;addadmin 76561197963117432
            GAME_PORT: "12871"
            PASSWRD: ""
            QUERY_PORT: "12881"
            SRV_MAXPLAYERS: "50"
            SRV_NAME: Hurtworld Docker
            USERNAME: ""
            VALIDATE: "false"
          probes:
            liveness:
              enabled: false
            readiness:
              enabled: false
            startup:
              enabled: false
