fix(apps): fix unpackerr config storage (#16826)

**Description**
Fixes an issue where the Unpackerr chart would not automatically create
(or load) unpackerr.conf unless the directory (/config) was created and
mapped. The /downloads mapping was removed and replaced with /config
instead. The chart will start without the directory present, however, it
will only rely on environment variables.

⚒️ Fixes:  
- Maps /config so that the app can create and read unpackerr.conf
instead of relying on environment variables.
- Added whisparr to chart.yaml since it is supported by Unpackerr

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [X] 🪛 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?**
Make changes to affected files and start the chart.

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 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
- [X] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ I increased versions for any altered app according to semantic
versioning
This commit is contained in:
Juan Jose Chong
2024-01-03 13:55:34 +01:00
committed by GitHub
parent e4e44fc1e7
commit bc01d12635
3 changed files with 15 additions and 3 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: unpackerr name: unpackerr
version: 12.1.5 version: 12.1.6
appVersion: 0.12.0 appVersion: 0.12.0
description: This application runs as a daemon on your download host. It checks for completed downloads and extracts them so Radarr, Lidarr, Sonarr, and Readarr may import them description: This application runs as a daemon on your download host. It checks for completed downloads and extracts them so Radarr, Lidarr, Sonarr, and Readarr may import them
home: https://truecharts.org/charts/stable/unpackerr home: https://truecharts.org/charts/stable/unpackerr
@@ -21,6 +21,7 @@ keywords:
- radarr - radarr
- lidarr - lidarr
- readarr - readarr
- whisparr
dependencies: dependencies:
- name: common - name: common
version: 17.2.21 version: 17.2.21
+10 -2
View File
@@ -15,9 +15,17 @@ questions:
# Include{serviceExpert} # Include{serviceExpert}
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: config
label: App Config Storage
description: Stores the App Configuration (/config)
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
- variable: downloads - variable: downloads
label: "App downloads Storage" label: App downloads Storage
description: "Path to (/downloads)." description: Stores downloads. (Defaults to /downloads)
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
+3
View File
@@ -9,6 +9,9 @@ service:
main: main:
enabled: false enabled: false
persistence: persistence:
config:
enabled: true
mountPath: "/config"
downloads: downloads:
enabled: true enabled: true
mountPath: "/downloads" mountPath: "/downloads"