2022-07-12 17:20:16 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: lancachenet/monolithic
|
2022-07-12 17:20:16 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-11-17 10:22:57 +00:00
|
|
|
tag: latest@sha256:b72d6b909b9e3fb7b521e90aab97479f7977bf6bee97e89a095e1afdbd6d3b85
|
2023-09-10 08:15:46 +00:00
|
|
|
prefillImage:
|
2023-11-18 10:48:35 +00:00
|
|
|
repository: ich777/lancache-prefill
|
2023-09-10 08:15:46 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-11-18 10:48:35 +00:00
|
|
|
tag: latest@sha256:68a63d842ffdbf87292647f9b16e57e34d66f1f6f8b05944b8aa2ea4f86dc8ff
|
2023-09-10 08:15:46 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2022-07-12 17:20:16 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10279
|
|
|
|
targetPort: 80
|
2023-05-01 09:16:44 +00:00
|
|
|
protocol: http
|
2022-09-25 19:46:16 +00:00
|
|
|
https:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
https:
|
|
|
|
enabled: true
|
|
|
|
port: 10280
|
|
|
|
targetPort: 443
|
2023-05-01 09:16:44 +00:00
|
|
|
protocol: https
|
2023-09-10 08:15:46 +00:00
|
|
|
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:
|
2022-07-12 17:20:16 +00:00
|
|
|
enabled: true
|
2023-09-22 22:44:19 +00:00
|
|
|
# https://tpill90.github.io/battlenet-lancache-prefill/detailed-command-usage/Prefill/#options
|
|
|
|
params: []
|
2023-09-10 08:15:46 +00:00
|
|
|
cron: "0 5 * * *"
|
|
|
|
# Epic
|
|
|
|
epic:
|
2022-07-12 17:20:16 +00:00
|
|
|
enabled: true
|
2023-09-10 08:15:46 +00:00
|
|
|
# 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 * * *"
|
2023-05-01 09:16:44 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
type: tcp
|
|
|
|
readiness:
|
|
|
|
type: tcp
|
|
|
|
startup:
|
|
|
|
type: tcp
|
|
|
|
env:
|
2023-09-10 08:15:46 +00:00
|
|
|
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 }}"
|
2023-09-22 22:44:19 +00:00
|
|
|
PREFILL_PARAMS_BN: '{{ join " " .Values.prefill.battlenet.params }}'
|
2023-09-10 08:15:46 +00:00
|
|
|
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
|
2023-11-18 10:48:35 +00:00
|
|
|
updated: true
|