From 1107931081f7d1fe1e0e8998f65a0532ddfddd65 Mon Sep 17 00:00:00 2001
From: Janne Mareike Koschinski <janne@kuschku.de>
Date: Thu, 9 Jun 2022 02:00:06 +0200
Subject: [PATCH] fix: correct rtorrent chart

---
 rtorrent/Chart.yaml                |  2 +-
 rtorrent/templates/deployment.yaml |  2 +-
 rtorrent/values.yaml               | 11 +----------
 3 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/rtorrent/Chart.yaml b/rtorrent/Chart.yaml
index c72b5f1..193857d 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.2
+version: 0.1.3
 appVersion: "4b75e358"
diff --git a/rtorrent/templates/deployment.yaml b/rtorrent/templates/deployment.yaml
index b4d38f6..f3b7f1a 100644
--- a/rtorrent/templates/deployment.yaml
+++ b/rtorrent/templates/deployment.yaml
@@ -58,7 +58,7 @@ spec:
         - name: rtorrent
           securityContext:
             {{- toYaml .Values.rtorrent.securityContext | nindent 12 }}
-          image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
+          image: "{{ .Values.image.repository }}:daemon-{{ .Values.image.tag | default .Chart.AppVersion }}"
           imagePullPolicy: {{ .Values.image.pullPolicy }}
           {{ if ne .Values.rtorrent.externalIpCommand "" }}
           env:
diff --git a/rtorrent/values.yaml b/rtorrent/values.yaml
index 5abd0b0..81a9563 100644
--- a/rtorrent/values.yaml
+++ b/rtorrent/values.yaml
@@ -12,16 +12,7 @@ fullnameOverride: ""
 wireguard:
   enabled: false
   localNetworks: ""
-  config: |-
-    [Interface]
-    PrivateKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-    Address = XXX.XXX.XXX.XXX/32,XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX/128
-    DNS = XXX.XXX.XXX.XXX
-
-    [Peer]
-    PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-    AllowedIPs = XXX.XXX.XXX.XXX/32,XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX/128
-    Endpoint = XXX.XXX.XXX.XXX:XXXXX
+  config: ""
   securityContext:
     capabilities:
       add:
-- 
GitLab