diff --git a/charts/stable/lancache-monolithic/Chart.yaml b/charts/stable/lancache-monolithic/Chart.yaml index 1bcf83a88db..d0ac6b0f282 100644 --- a/charts/stable/lancache-monolithic/Chart.yaml +++ b/charts/stable/lancache-monolithic/Chart.yaml @@ -21,7 +21,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/lancache-monolithic - https://github.com/lancachenet/monolithic type: application -version: 5.1.0 +version: 5.1.1 annotations: truecharts.org/catagories: | - gaming diff --git a/charts/stable/lancache-monolithic/docs/installation_notes.md b/charts/stable/lancache-monolithic/docs/installation_notes.md index 4031886d3da..8afc12f600e 100644 --- a/charts/stable/lancache-monolithic/docs/installation_notes.md +++ b/charts/stable/lancache-monolithic/docs/installation_notes.md @@ -20,10 +20,34 @@ Like TrueNAS Scale WebUI. ## Lancache-Prefill -Basic setup guides from upstream. +How to use lancache-prefill sidecar -- BattleNet [docs](https://github.com/tpill90/battlenet-lancache-prefill#initial-setup) +:::info -- Steam [docs](https://github.com/tpill90/steam-lancache-prefill#initial-setup) +Shell into the main pod, not the _prefill_ pod. -- Epic [docs](https://github.com/tpill90/epic-lancache-prefill#initial-setup) +::: + +### BattleNet + +```shell +cd /data/prefill/BattleNetPrefill/ && ./BattleNetPrefill -h +``` + +cron param options [list](https://tpill90.github.io/battlenet-lancache-prefill/detailed-command-usage/Prefill/#options). + +### Epic + +```shell +cd /data/prefill/EpicPrefill/ && ./EpicPrefill -h +``` + +cron param options [list](https://tpill90.github.io/epic-lancache-prefill/Detailed-Command-Usage/#prefill). + +### Steam + +```shell +cd /data/prefill/SteamPrefill/ && ./SteamPrefill -h +``` + +cron param options [list](https://tpill90.github.io/steam-lancache-prefill/detailed-command-usage/Prefill/#options). diff --git a/charts/stable/lancache-monolithic/questions.yaml b/charts/stable/lancache-monolithic/questions.yaml index e428ef03e4a..b56d11eaded 100644 --- a/charts/stable/lancache-monolithic/questions.yaml +++ b/charts/stable/lancache-monolithic/questions.yaml @@ -123,6 +123,20 @@ questions: default: true show_subquestions_if: true subquestions: + - variable: params + label: Params + description: list of parameters for BattleNetPrefill. + schema: + type: list + default: [] + required: true + items: + - variable: param + label: Param + schema: + type: string + required: true + default: "" - variable: cron label: cron description: Set your cron schedule for the BattleNetPrefill. diff --git a/charts/stable/lancache-monolithic/values.yaml b/charts/stable/lancache-monolithic/values.yaml index 899278b0d82..ebda8542a36 100644 --- a/charts/stable/lancache-monolithic/values.yaml +++ b/charts/stable/lancache-monolithic/values.yaml @@ -52,6 +52,8 @@ prefill: # BattleNet battlenet: enabled: true + # https://tpill90.github.io/battlenet-lancache-prefill/detailed-command-usage/Prefill/#options + params: [] cron: "0 5 * * *" # Epic epic: @@ -112,6 +114,7 @@ workload: 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 }}"