From fd260316a7566872b856684147359d2458f8220b Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Mon, 8 Nov 2021 09:52:58 +0100 Subject: [PATCH] fix(TorrentClients): Split torrent service to allow for the use of LoadBalancer servicetype --- charts/stable/qbittorrent/Chart.yaml | 2 +- charts/stable/qbittorrent/questions.yaml | 24 ++++++++++++++--------- charts/stable/qbittorrent/values.yaml | 8 +++++--- charts/stable/transmission/Chart.yaml | 2 +- charts/stable/transmission/questions.yaml | 14 +++++++++---- charts/stable/transmission/values.yaml | 8 +++++--- 6 files changed, 37 insertions(+), 21 deletions(-) diff --git a/charts/stable/qbittorrent/Chart.yaml b/charts/stable/qbittorrent/Chart.yaml index ef1ae0654f8..335f6923d1a 100644 --- a/charts/stable/qbittorrent/Chart.yaml +++ b/charts/stable/qbittorrent/Chart.yaml @@ -19,7 +19,7 @@ maintainers: name: qbittorrent sources: null type: application -version: 9.0.7 +version: 9.0.8 annotations: truecharts.org/catagories: | - media diff --git a/charts/stable/qbittorrent/questions.yaml b/charts/stable/qbittorrent/questions.yaml index cbea2ae4e86..b1aa54f1041 100644 --- a/charts/stable/qbittorrent/questions.yaml +++ b/charts/stable/qbittorrent/questions.yaml @@ -146,13 +146,13 @@ questions: - variable: torrent - label: "Torrent Service" - description: "Torrent Service" + label: "TCP Torrent Service" + description: "Torrent service" schema: type: dict attrs: # Include{serviceSelector} - - variable: tcp + - variable: torrent label: "TCP Service Port Configuration" schema: type: dict @@ -190,18 +190,24 @@ questions: description: "The internal(!) port on the container the Application runs on" schema: type: int - default: 51413 + default: 6881 - variable: port label: "Container Port" schema: type: int - default: 51413 + default: 6881 editable: true required: true - - - variable: udp + - variable: torrentudp + label: "UDP Torrent Service" + description: "Torrent service" + schema: + type: dict + attrs: +# Include{serviceSelector} + - variable: torrentudp label: "UDP Service Port Configuration" schema: type: dict @@ -239,13 +245,13 @@ questions: description: "The internal(!) port on the container the Application runs on" schema: type: int - default: 51413 + default: 6881 - variable: port label: "Container Port" schema: type: int - default: 51413 + default: 6881 editable: true required: true diff --git a/charts/stable/qbittorrent/values.yaml b/charts/stable/qbittorrent/values.yaml index 90be32da568..334e2de5508 100644 --- a/charts/stable/qbittorrent/values.yaml +++ b/charts/stable/qbittorrent/values.yaml @@ -22,14 +22,16 @@ service: targetPort: 8080 torrent: enabled: true - type: ClusterIP ports: - tcp: + torrent: enabled: true port: 6881 targetPort: 6881 protocol: TCP - udp: + torrentudp: + enabled: true + ports: + torrentudp: enabled: true port: 6881 targetPort: 6881 diff --git a/charts/stable/transmission/Chart.yaml b/charts/stable/transmission/Chart.yaml index 4d81d8ce358..eb1a0cafabd 100644 --- a/charts/stable/transmission/Chart.yaml +++ b/charts/stable/transmission/Chart.yaml @@ -25,7 +25,7 @@ sources: - https://github.com/transmission/transmission - https://hub.docker.com/r/linuxserver/transmission type: application -version: 9.0.6 +version: 9.0.7 annotations: truecharts.org/catagories: | - download-tools diff --git a/charts/stable/transmission/questions.yaml b/charts/stable/transmission/questions.yaml index d9c153d3c0f..56a5ba77cb3 100644 --- a/charts/stable/transmission/questions.yaml +++ b/charts/stable/transmission/questions.yaml @@ -488,13 +488,13 @@ questions: - variable: torrent - label: "Torrent Service" + label: "TCP Torrent Service" description: "Torrent service" schema: type: dict attrs: # Include{serviceSelector} - - variable: tcp + - variable: torrent label: "TCP Service Port Configuration" schema: type: dict @@ -542,8 +542,14 @@ questions: editable: true required: true - - - variable: udp + - variable: torrentudp + label: "UDP Torrent Service" + description: "Torrent service" + schema: + type: dict + attrs: +# Include{serviceSelector} + - variable: torrentudp label: "UDP Service Port Configuration" schema: type: dict diff --git a/charts/stable/transmission/values.yaml b/charts/stable/transmission/values.yaml index 242b4e1b2b9..cbbf506d737 100644 --- a/charts/stable/transmission/values.yaml +++ b/charts/stable/transmission/values.yaml @@ -13,14 +13,16 @@ service: targetPort: 9091 torrent: enabled: true - type: ClusterIP ports: - tcp: + torrent: enabled: true port: 51413 targetPort: 51413 protocol: TCP - udp: + torrentudp: + enabled: true + ports: + torrentudp: enabled: true port: 51413 targetPort: 51413