From 2968b2c910031220234b6051f7193f0c1de349d3 Mon Sep 17 00:00:00 2001
From: Janne Mareike Koschinski <janne@kuschku.de>
Date: Thu, 9 Jun 2022 02:46:58 +0200
Subject: [PATCH] feat: add port selection to rtorrent chart

---
 rtorrent/Chart.yaml  | 4 ++--
 rtorrent/values.yaml | 6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/rtorrent/Chart.yaml b/rtorrent/Chart.yaml
index d03ea57..7f96b55 100644
--- a/rtorrent/Chart.yaml
+++ b/rtorrent/Chart.yaml
@@ -2,5 +2,5 @@ apiVersion: v2
 name: rtorrent
 description: Helm Chart for rtorrent
 type: application
-version: 0.1.4
-appVersion: "4b75e358"
+version: 0.1.5
+appVersion: "fc665122"
diff --git a/rtorrent/values.yaml b/rtorrent/values.yaml
index e0d929b..8311c9b 100644
--- a/rtorrent/values.yaml
+++ b/rtorrent/values.yaml
@@ -39,6 +39,10 @@ rtorrent:
   externalIp: ""
   config:
     RT_TRACKER_UDP: "yes"
+    RT_MIN_PORT: "50000"
+    RT_MAX_PORT: "50000"
+    RT_PROTO_DHT: "disable"
+    RT_PROTO_PEX: "no"
     RT_MAX_UP: "100"
     RT_MAX_UP_GLOBAL: "250"
     RT_MIN_PEERS: "20"
@@ -48,6 +52,8 @@ rtorrent:
     RT_TRACKERS_WANT: "80"
     RT_MEMORY_MAX: "1800M"
     RT_LOGLEVEL: "info"
+    EXTERNAL_IP_CMD: ""
+    EXTERNAL_IP: ""
   securityContext:
     capabilities:
       drop:
-- 
GitLab