fix(TorrentClients): Split torrent service to allow for the use of LoadBalancer servicetype

This commit is contained in:
kjeld Schouten-Lebbing 2021-11-08 09:52:58 +01:00
parent e43567b12c
commit fd260316a7
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
6 changed files with 37 additions and 21 deletions

View File

@ -19,7 +19,7 @@ maintainers:
name: qbittorrent
sources: null
type: application
version: 9.0.7
version: 9.0.8
annotations:
truecharts.org/catagories: |
- media

View File

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

View File

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

View File

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

View File

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

View File

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