From c8a30cba88ec6752eb082c8d4fd9e83ac67a203a Mon Sep 17 00:00:00 2001 From: kqmaverick <121722567+kqmaverick@users.noreply.github.com> Date: Thu, 29 Feb 2024 22:32:04 -0800 Subject: [PATCH] fix(qbittorrent): cronjob missing restart policy (#18727) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Fix missing restart policy on qbittorrent auto port forwarding sidecar cronjob. ⚒️ Fixes # **⚙️ 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?** **📃 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 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: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- charts/stable/qbittorrent/Chart.yaml | 2 +- charts/stable/qbittorrent/ci/cron-values.yaml | 4 ++++ charts/stable/qbittorrent/values.yaml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 charts/stable/qbittorrent/ci/cron-values.yaml diff --git a/charts/stable/qbittorrent/Chart.yaml b/charts/stable/qbittorrent/Chart.yaml index 10d6adeed93..d2402d3d253 100644 --- a/charts/stable/qbittorrent/Chart.yaml +++ b/charts/stable/qbittorrent/Chart.yaml @@ -35,4 +35,4 @@ sources: - https://ghcr.io/onedr0p/qbittorrent - https://hub.docker.com/r/mjmeli/qbittorrent-port-forward-gluetun-server type: application -version: 19.2.0 +version: 19.2.1 diff --git a/charts/stable/qbittorrent/ci/cron-values.yaml b/charts/stable/qbittorrent/ci/cron-values.yaml new file mode 100644 index 00000000000..3b0a5fc0776 --- /dev/null +++ b/charts/stable/qbittorrent/ci/cron-values.yaml @@ -0,0 +1,4 @@ +workload: + qbitportforward: + enabled: true + schedule: "* * * * *" diff --git a/charts/stable/qbittorrent/values.yaml b/charts/stable/qbittorrent/values.yaml index b61f8f5c027..78cf5138ef3 100644 --- a/charts/stable/qbittorrent/values.yaml +++ b/charts/stable/qbittorrent/values.yaml @@ -42,6 +42,7 @@ workload: type: CronJob schedule: "*/5 * * * *" podSpec: + restartPolicy: OnFailure containers: qbitportforward: primary: true