chore(qbittorrent): Use port for containerPort as the listen port is configured via CM, and default torrentudd port to torrent (#5443)
This commit is contained in:
@@ -21,7 +21,7 @@ sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/stable/qbittorrent
|
||||
- https://github.com/qbittorrent/qBittorrent
|
||||
type: application
|
||||
version: 13.0.5
|
||||
version: 13.0.6
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
||||
@@ -71,7 +71,7 @@ questions:
|
||||
attrs:
|
||||
- variable: port
|
||||
label: "Port"
|
||||
description: "This port exposes the container port on the service"
|
||||
description: "Does not have any effect. It defaults to the same port as torrent service"
|
||||
schema:
|
||||
type: int
|
||||
default: 6881
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
{{/* Render the templates */}}
|
||||
{{ include "tc.common.loader.all" . }}
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "tc.common.loader.init" . }}
|
||||
|
||||
{{/* Set it to the same port as "torrent" service/port */}}
|
||||
{{- $_ := set $.Values.service.torrentudp.ports.torrentudp "port" (int .Values.service.torrent.ports.torrent.port) -}}
|
||||
|
||||
{{/* Render the configmap */}}
|
||||
{{ include "qbittorrent.configmap" . }}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "tc.common.loader.apply" . }}
|
||||
|
||||
@@ -18,14 +18,12 @@ service:
|
||||
torrent:
|
||||
enabled: true
|
||||
port: 6881
|
||||
targetPort: 6881
|
||||
torrentudp:
|
||||
enabled: true
|
||||
ports:
|
||||
torrentudp:
|
||||
enabled: true
|
||||
port: 6881
|
||||
targetPort: 6881
|
||||
protocol: UDP
|
||||
|
||||
persistence:
|
||||
|
||||
Reference in New Issue
Block a user