# yaml-language-server: $schema=./values.schema.json
image:
  repository: ghcr.io/a-sync/game-server-watcher
  pullPolicy: IfNotPresent
  tag: v3.1.25@sha256:989096de6b6286f949a8fc639454016857b81add008620535ac9c23d924f0824

securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsUser: 0
    runAsGroup: 0

service:
  main:
    ports:
      main:
        protocol: http
        port: 10690

workload:
  main:
    podSpec:
      containers:
        main:
          env:
            # Writeable folder for data storage
            DATA_PATH: "{{.Values.persistence.data.mountPath }}"
            # Web service host
            HOST: 0.0.0.0
            # Web service port
            PORT: "{{ .Values.service.main.ports.main.port }}"
            # Admin PASSWORD
            SECRET: secret
            # Enable or Disable debug mode
            DBG: 0
            # Game server info refresh interval in minutes
            REFRESH_TIME_MINUTES: 2
            # Steam web API key
            STEAM_WEB_API_KEY: ""
            # Discord bot token
            DISCORD_BOT_TOKEN: ""
            # Telegram bot token
            TELEGRAM_BOT_TOKEN: ""
            # Slack bot token
            SLACK_BOT_TOKEN: ""
            # Slack app token
            SLACK_APP_TOKEN: ""

persistence:
  data:
    enabled: true
    mountPath: "/data"
