fix(qbittorrent): cronjob missing restart policy (#18727)

**Description**
Fix missing restart policy on qbittorrent auto port forwarding sidecar
cronjob.

⚒️ Fixes  # <!--(issue)-->

**⚙️ 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>
This commit is contained in:
kqmaverick 2024-02-29 22:32:04 -08:00 committed by GitHub
parent 4b798990c3
commit c8a30cba88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 1 deletions

View File

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

View File

@ -0,0 +1,4 @@
workload:
qbitportforward:
enabled: true
schedule: "* * * * *"

View File

@ -42,6 +42,7 @@ workload:
type: CronJob
schedule: "*/5 * * * *"
podSpec:
restartPolicy: OnFailure
containers:
qbitportforward:
primary: true