scale-catalog/stable/lancache-monolithic/8.8.13/ix_values.yaml
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

139 lines
4.0 KiB
YAML

image:
repository: lancachenet/monolithic
pullPolicy: IfNotPresent
tag: latest@sha256:b72d6b909b9e3fb7b521e90aab97479f7977bf6bee97e89a095e1afdbd6d3b85
prefillImage:
repository: ich777/lancache-prefill
pullPolicy: IfNotPresent
tag: latest@sha256:68a63d842ffdbf87292647f9b16e57e34d66f1f6f8b05944b8aa2ea4f86dc8ff
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