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

securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsGroup: 0
    runAsUser: 0
service:
  assetto:
    enabled: true
    ports:
      assetto:
        enabled: true
        port: 8772
        protocol: tcp
        targetPort: 8772
  main:
    ports:
      main:
        port: 9600
        protocol: tcp
        targetPort: 9600
  mainudp:
    enabled: true
    ports:
      mainudp:
        enabled: true
        port: 9600
        protocol: udp
        targetPort: 9600
  stracker:
    enabled: true
    ports:
      stracker:
        enabled: true
        port: 50041
        protocol: tcp
        targetPort: 50041
  tcp2:
    enabled: true
    ports:
      tcp2:
        enabled: true
        port: 8081
        protocol: tcp
        targetPort: 8081
workload:
  main:
    podSpec:
      containers:
        main:
          env:
            GAME_ID: "302550"
            INSTALL_ASSETTO_SERVER_MANAGER: ""
            INSTALL_STRACKER: ""
            PASSWRD: ""
            USERNAME: ""
            VALIDATE: "false"
