From b554c2641df153d5fca5ee4085a8a8b4cae6772e Mon Sep 17 00:00:00 2001 From: Boemeltrein <130394941+Boemeltrein@users.noreply.github.com> Date: Tue, 10 Jun 2025 18:18:52 +0200 Subject: [PATCH] fix(sabnzbd ): correct probes (#36184) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # SABnzbd have a huge log spam, see hereunder this will be a lot of times and each few minutes. Seems to be the probes. This will fix it and logs are nice and quiet now. ``` 2025-06-10 17:09:18.173 | Exception ignored in: |   -- | -- | --   |   | 2025-06-10 17:09:18.173 | Traceback (most recent call last): |     |   | 2025-06-10 17:09:18.173 | File "/usr/local/lib/python3.13/_pyio.py", line 418, in __del__ |     |   | 2025-06-10 17:09:18.173 | self.close() |     |   | 2025-06-10 17:09:18.173 | File "/usr/local/lib/python3.13/_pyio.py", line 1313, in close |     |   | 2025-06-10 17:09:18.173 | self.flush() |     |   | 2025-06-10 17:09:18.173 | File "/usr/local/lib/python3.13/_pyio.py", line 1274, in flush |     |   | 2025-06-10 17:09:18.174 | self._flush_unlocked() |     |   | 2025-06-10 17:09:18.174 | File "/usr/local/lib/python3.13/site-packages/cheroot/makefile.py", line 33, in _flush_unlocked |     |   | 2025-06-10 17:09:18.174 | n = self.raw.write(bytes(self._write_buf)) |     |   | 2025-06-10 17:09:18.174 | File "/usr/local/lib/python3.13/socket.py", line 737, in write |     |   | 2025-06-10 17:09:18.174 | return self._sock.send(b) |     |   | 2025-06-10 17:09:18.174 | OSError: [Errno 9] Bad file descriptor ``` **⚙️ 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 - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** On my own cluster: https://github.com/Boemeltrein/TalosCluster/commit/5b6897e43b3c81ddd9f1ce07a2926f90ae4f3174 **📃 Notes:** **✔️ 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 changes to the documentation - [ ] 🧪 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 - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ 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._ --- charts/stable/sabnzbd/Chart.yaml | 2 +- charts/stable/sabnzbd/values.yaml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/charts/stable/sabnzbd/Chart.yaml b/charts/stable/sabnzbd/Chart.yaml index b4c61d38baa..86362b791c3 100644 --- a/charts/stable/sabnzbd/Chart.yaml +++ b/charts/stable/sabnzbd/Chart.yaml @@ -37,5 +37,5 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/sabnzbd - https://sabnzbd.org/ type: application -version: 21.9.5 +version: 21.9.6 diff --git a/charts/stable/sabnzbd/values.yaml b/charts/stable/sabnzbd/values.yaml index 69f1ec447c0..0b7d3cc9f59 100644 --- a/charts/stable/sabnzbd/values.yaml +++ b/charts/stable/sabnzbd/values.yaml @@ -23,6 +23,16 @@ workload: podSpec: containers: main: + probes: + liveness: + port: "{{ .Values.service.main.ports.main.port }}" + path: /api?mode=version + readiness: + port: "{{ .Values.service.main.ports.main.port }}" + path: /api?mode=version + startup: + port: "{{ .Values.service.main.ports.main.port }}" + path: /api?mode=version env: SABNZBD__HOST_WHITELIST_ENTRIES: "" SABNZBD__PORT: "{{ .Values.service.main.ports.main.port }}"