From a16e98778a55ce3b3bee52e3dcd350cd69cb8328 Mon Sep 17 00:00:00 2001 From: kqmaverick <121722567+kqmaverick@users.noreply.github.com> Date: Fri, 24 Nov 2023 08:28:37 -0800 Subject: [PATCH] fix(deluge): fix torrent udp port (#15317) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Fixes torrent UDP port to be set same as TCP. ⚒️ 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 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._ --- charts/stable/deluge/Chart.yaml | 2 +- charts/stable/deluge/questions.yaml | 22 ---------------------- charts/stable/deluge/values.yaml | 4 ++-- 3 files changed, 3 insertions(+), 25 deletions(-) diff --git a/charts/stable/deluge/Chart.yaml b/charts/stable/deluge/Chart.yaml index caa4dc2d7d6..b4507f1a290 100644 --- a/charts/stable/deluge/Chart.yaml +++ b/charts/stable/deluge/Chart.yaml @@ -22,7 +22,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/deluge - https://github.com/deluge-torrent/deluge type: application -version: 15.0.9 +version: 15.0.10 annotations: truecharts.org/category: media truecharts.org/SCALE-support: "true" diff --git a/charts/stable/deluge/questions.yaml b/charts/stable/deluge/questions.yaml index 4f6b0fe9229..e5f08d436a9 100644 --- a/charts/stable/deluge/questions.yaml +++ b/charts/stable/deluge/questions.yaml @@ -55,28 +55,6 @@ questions: type: int default: 51413 required: true - - variable: torrent-udp - label: "UDP Torrent Service" - description: "UDP Torrent Service" - schema: - additional_attrs: true - type: dict - attrs: -# Include{serviceSelectorLoadBalancer} -# Include{serviceSelectorExtras} - - variable: udp - label: "UDP Service Port Configuration" - schema: - additional_attrs: true - type: dict - attrs: - - variable: port - label: "Port" - description: "This port exposes the container port on the service" - schema: - type: int - default: 51413 - required: true # Include{serviceExpertRoot} # Include{serviceExpert} # Include{serviceList} diff --git a/charts/stable/deluge/values.yaml b/charts/stable/deluge/values.yaml index 4cfc600a3e4..a1823d20c09 100644 --- a/charts/stable/deluge/values.yaml +++ b/charts/stable/deluge/values.yaml @@ -26,8 +26,8 @@ service: ports: udp: enabled: true - port: 51413 - targetPort: 51413 + port: "{{ .Values.service.torrent.ports.tcp.port }}" + targetPort: "{{ .Values.service.torrent.ports.tcp.port }}" protocol: udp workload: main: