From 92617f0d00fdba8576d98c8c8ee8d92646f01f09 Mon Sep 17 00:00:00 2001 From: kqmaverick <121722567+kqmaverick@users.noreply.github.com> Date: Sat, 18 Nov 2023 14:19:33 -0800 Subject: [PATCH] feat(whisparr): add authentication (#15089) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Adds authentication question. ⚒️ Fixes # **⚙️ 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 - [X] ⬆️ 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 opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ 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._ --------- Signed-off-by: Kjeld Schouten Co-authored-by: Kjeld Schouten --- charts/stable/whisparr/Chart.yaml | 2 +- .../stable/whisparr/ci/basicauth-values.yaml | 7 ++++++ charts/stable/whisparr/questions.yaml | 22 +++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 charts/stable/whisparr/ci/basicauth-values.yaml diff --git a/charts/stable/whisparr/Chart.yaml b/charts/stable/whisparr/Chart.yaml index 9b0d116db25..2d5026dd719 100644 --- a/charts/stable/whisparr/Chart.yaml +++ b/charts/stable/whisparr/Chart.yaml @@ -22,7 +22,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/whisparr - https://github.com/onedr0p/containers/tree/main/apps/whisparr type: application -version: 6.0.0 +version: 6.1.0 annotations: truecharts.org/SCALE-support: "true" truecharts.org/category: Downloaders diff --git a/charts/stable/whisparr/ci/basicauth-values.yaml b/charts/stable/whisparr/ci/basicauth-values.yaml new file mode 100644 index 00000000000..1bea4266f9f --- /dev/null +++ b/charts/stable/whisparr/ci/basicauth-values.yaml @@ -0,0 +1,7 @@ +workload: + main: + podSpec: + containers: + main: + env: + WHISPARR__AUTHENTICATION_METHOD: Basic diff --git a/charts/stable/whisparr/questions.yaml b/charts/stable/whisparr/questions.yaml index da2e26b0188..4fa57c6ec7c 100644 --- a/charts/stable/whisparr/questions.yaml +++ b/charts/stable/whisparr/questions.yaml @@ -12,6 +12,28 @@ questions: # Include{containerMain} + - variable: env + group: App Configuration + label: Image Environment + schema: + additional_attrs: true + type: dict + attrs: + - variable: WHISPARR__AUTHENTICATION_METHOD + label: Auth Method + description: Sets the auth method. + schema: + type: string + default: "" + enum: + - value: "" + description: In-App Setting + - value: External + description: External/None + - value: Basic + description: Basic + - value: Forms + description: Forms # Include{containerBasic} # Include{containerAdvanced}