TrueChartsClone/charts/stable/lancache-monolithic/values.yaml

139 lines
4.0 KiB
YAML

image:
repository: lancachenet/monolithic
pullPolicy: IfNotPresent
tag: latest@sha256:dffb2c20d9805d49e1b4ab6f4ea964dd3ceeabee883fbb4d1e0a61e38e4f1c2e
prefillImage:
repository: ich777/lancache-prefill
pullPolicy: IfNotPresent
tag: latest@sha256:17160e36575b67b34bec4fcbcbd8d25f16c22bec0dfb3d9f17bc5bf090045493
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
port: 10279
targetPort: 80
protocol: http
https:
enabled: true
ports:
https:
enabled: true
port: 10280
targetPort: 443
protocol: https
monolithic:
cache_domains_repo: "https://github.com/uklans/cache-domains.git"
cache_domains_branch: "master"
upstream_dns:
- 1.1.1.1
- 1.0.0.1
cache_disk_size: "1000000m"
cache_max_age: "3560d"
cache_index_size: 500m
no_fetch: false
prefill:
# sidecar
enabled: true
updates: true
# Prefill on every container start/restart
on_start: false
log_clean_up: true
default_cron: ""
# BattleNet
battlenet:
enabled: true
# https://tpill90.github.io/battlenet-lancache-prefill/detailed-command-usage/Prefill/#options
params: []
cron: "0 5 * * *"
# Epic
epic:
enabled: true
# https://tpill90.github.io/epic-lancache-prefill/Detailed-Command-Usage/#prefill
params: []
cron: "0 4 * * *"
# Steam
steam:
enabled: true
# https://tpill90.github.io/steam-lancache-prefill/detailed-command-usage/Prefill/#options
params: []
cron: "0 2 * * *"
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
CACHE_DOMAINS_REPO: "{{ .Values.monolithic.cache_domains_repo }}"
CACHE_DOMAINS_BRANCH: "{{ .Values.monolithic.cache_domains_branch }}"
UPSTREAM_DNS: '{{ join " " .Values.monolithic.upstream_dns }}'
CACHE_DISK_SIZE: "{{ .Values.monolithic.cache_disk_size }}"
CACHE_MAX_AGE: "{{ .Values.monolithic.cache_max_age }}"
CACHE_INDEX_SIZE: "{{ .Values.monolithic.cache_index_size }}"
NOFETCH: "{{ .Values.monolithic.no_fetch }}"
prefill:
enabled: true
type: Deployment
podSpec:
containers:
prefill:
primary: true
enabled: true
imageSelector: prefillImage
tty: true
stdin: true
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
env:
DATA_DIR: "{{ .Values.persistence.prefill.mountPath }}"
UPDATES: "{{ .Values.prefill.updates }}"
PREFILL_ONSTARTUP: "{{ .Values.prefill.on_start }}"
LOGCLEANUP: "{{ .Values.prefill.log_clean_up }}"
CRON_SCHED_GLOBAL: "{{ .Values.prefill.default_cron }}"
# BattleNet
ENABLE_BN: "{{ .Values.prefill.battlenet.enabled }}"
PREFILL_PARAMS_BN: '{{ join " " .Values.prefill.battlenet.params }}'
CRON_SCHED_BN: "{{ .Values.prefill.battlenet.cron }}"
# Epic
ENABLE_EPIC: "{{ .Values.prefill.epic.enabled }}"
CRON_SCHED_EPIC: "{{ .Values.prefill.epic.cron }}"
PREFILL_PARAMS_EPIC: '{{ join " " .Values.prefill.epic.params }}'
# Steam
ENABLE_STEAM: "{{ .Values.prefill.steam.enabled }}"
PREFILL_PARAMS_STEAM: '{{ join " " .Values.prefill.steam.params }}'
CRON_SCHED_STEAM: "{{ .Values.prefill.steam.cron }}"
DATA_PERM: 770
USER: root
persistence:
config:
enabled: true
mountPath: "/data/cache"
logs:
enabled: true
mountPath: "/data/logs"
prefill:
enabled: true
mountPath: /data/prefill
targetSelectAll: true
portal:
open:
enabled: false
updated: true