fix(rtorrent-rutorrent): adding probe check (#16391)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->
Adding health ports as per
https://github.com/crazy-max/docker-rtorrent-rutorrent/blob/master/rootfs/usr/local/bin/healthcheck

**⚙️ Type of change**

- [ ] ⚙️ 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 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: Ac1dburn <ac1dburnez@gmail.com>
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Ac1dburn
2023-12-25 21:19:46 +02:00
committed by GitHub
co-authored by Stavros Kois
parent 1980402733
commit 76363251f7
2 changed files with 16 additions and 3 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
kubeVersion: ">=1.24.0-0"
apiVersion: v2
name: rtorrent-rutorrent
version: 3.0.0
appVersion: 4.2.9-0.9.8-0.13.8
version: 3.0.1
appVersion: 4.2.9-0.9.8_2-0.13.8_1
description: rTorrent and ruTorrent chart.
home: https://truecharts.org/charts/stable/rtorrent-rutorrent
icon: https://truecharts.org/img/hotlink-ok/chart-icons/rtorrent-rutorrent.png
+14 -1
View File
@@ -1,7 +1,7 @@
image:
repository: ghcr.io/crazy-max/rtorrent-rutorrent
pullPolicy: IfNotPresent
tag: 4.2.9-0.9.8-0.13.8@sha256:4e0df24d4f168d705c9864dad04e99c1c55c9e987e7bf0b6b0c84efb686ef858
tag: 4.2.9-0.9.8_2-0.13.8_1@sha256:8d089b00282a203886361268d9210106956302c2194e75ae56982a6f0398aef9
securityContext:
container:
@@ -57,6 +57,19 @@ workload:
podSpec:
containers:
main:
probes:
liveness:
exec:
command:
- /usr/local/bin/healthcheck
readiness:
exec:
command:
- /usr/local/bin/healthcheck
startup:
exec:
command:
- /usr/local/bin/healthcheck
env:
RUTORRENT_PORT: "{{ .Values.service.main.ports.main.port }}"
PORT_RTORRENT: "{{ .Values.service.rtorrent.ports.rtorrent.port }}"