From 498f498d1b92bd777aff505d14ffe5a7a98dc280 Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Sat, 10 Feb 2024 11:24:49 -0500 Subject: [PATCH] feat(alist): Add aria2 support (image and port) (#18011) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Changes the image to the one with aria2 support built in and adds another port for it to use ⚒️ Fixes #18008 **⚙️ Type of change** - [X] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- charts/stable/alist/Chart.yaml | 2 +- charts/stable/alist/questions.yaml | 22 ++++++++++++++++++++++ charts/stable/alist/values.yaml | 12 ++++++++++-- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/charts/stable/alist/Chart.yaml b/charts/stable/alist/Chart.yaml index 168a6cd6743..75d0cd720b7 100644 --- a/charts/stable/alist/Chart.yaml +++ b/charts/stable/alist/Chart.yaml @@ -38,4 +38,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/alist - https://hub.docker.com/r/xhofe/alist type: application -version: 8.2.6 +version: 8.3.0 diff --git a/charts/stable/alist/questions.yaml b/charts/stable/alist/questions.yaml index 7fb587bc3f8..2889382a74e 100644 --- a/charts/stable/alist/questions.yaml +++ b/charts/stable/alist/questions.yaml @@ -30,6 +30,28 @@ questions: type: int default: 10167 required: true + - variable: aria2 + label: Aria 2 RPC Service Port + description: Adds another port for Aria 2 RPC connections + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: aria2 + label: Aria 2 RPC Service Port + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: Port + description: This port exposes the container port on the service + schema: + type: int + default: 6800 + required: true # Include{serviceExpertRoot} # Include{serviceExpert} # Include{serviceList} diff --git a/charts/stable/alist/values.yaml b/charts/stable/alist/values.yaml index d138a8be10e..57eb4322b4e 100644 --- a/charts/stable/alist/values.yaml +++ b/charts/stable/alist/values.yaml @@ -1,7 +1,7 @@ image: - repository: xhofe/alist + repository: xhofe/alist-aria2 pullPolicy: IfNotPresent - tag: v3.30.0@sha256:084ba82603563ac6e178d1d2bb90e6b3417efeca90a59aa75f7d1c60db7a5b26 + tag: v3.30.0@sha256:3be44197b5fe4009edbca01541bd3bd60b9956dcdcfba5c69af08304bfc16949 securityContext: container: readOnlyRootFilesystem: false @@ -15,6 +15,14 @@ service: targetPort: 5244 protocol: http port: 10167 + aria2: + enabled: true + ports: + aria2: + enabled: true + targetPort: 6800 + protocol: http + port: 6800 workload: main: podSpec: