feat(alist): Add aria2 support (image and port) (#18011)

**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?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ 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._
This commit is contained in:
StevenMcElligott 2024-02-10 11:24:49 -05:00 committed by GitHub
parent d9cbcd8cbb
commit 498f498d1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 33 additions and 3 deletions

View File

@ -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

View File

@ -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}

View File

@ -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: