# yaml-language-server: $schema=./values.schema.json
image:
  repository: docker.io/lancachenet/lancache-dns
  pullPolicy: IfNotPresent
  tag: latest@sha256:887dfe601bdad7cce195b14752634fdaa27a37e1d5c08bb978c1f582e429d652
securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsNonRoot: false
    runAsUser: 0
    runAsGroup: 0
workload:
  main:
    podSpec:
      containers:
        main:
          probes:
            liveness:
              type: tcp
            readiness:
              type: tcp
            startup:
              type: tcp
          env:
            CACHE_DOMAINS_REPO: "https://github.com/uklans/cache-domains.git"
            CACHE_DOMAINS_BRANCH: "master"
            UPSTREAM_DNS: "1.1.1.1;1.0.0.1"
            # If you are using a single monolithic instance set this to true
            # USE_GENERIC_CACHE: true
            # Set IP for the monolithic app, only if USE_GENERIC_CACHE is true
            # LANCACHE_IP: "127.0.0.1"
            DISABLE_BLIZZARD: false
            DISABLE_RIOT: false
            DISABLE_UPLAY: false
            DISABLE_ORIGIN: false
            DISABLE_SONY: false
            DISABLE_SQUARE: false
service:
  main:
    ports:
      main:
        port: 53
        targetPort: 53
      dns:
        enabled: true
        protocol: udp
        port: 53
        targetPort: 53
