image:
  repository: tccr.io/truecharts/lancache-dns
  pullPolicy: IfNotPresent
  tag: latest@sha256:9de67e9a32730d8f4c1223eb368f92ef89ea93a9e373ac49b249cc58936335f2

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

portal:
  open:
    enabled: false
