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

securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsGroup: 0
    runAsUser: 0
service:
  main:
    ports:
      main:
        port: 9015
        protocol: http
        targetPort: 8080
  tcpgameport:
    enabled: true
    ports:
      tcpgameport:
        enabled: true
        port: 3979
        protocol: tcp
        targetPort: 3979
  udpgameport:
    enabled: true
    ports:
      udpgameport:
        enabled: true
        port: 3979
        protocol: udp
        targetPort: 3979
workload:
  main:
    podSpec:
      containers:
        main:
          env:
            GAME_PARAMS: ""
            GAME_VERSION: latest@sha256:f0065aa44fb1c38b7fc30d34e220138dc0a0c6477b78eb7f59015622c2052030
            GFX_PK_V: latest@sha256:f0065aa44fb1c38b7fc30d34e220138dc0a0c6477b78eb7f59015622c2052030
