diff --git a/rtorrent/Chart.yaml b/rtorrent/Chart.yaml index 193857dab5147dacc3ad0b3a78e30a78327f4744..d03ea57ed82453ba20c7d3610a6cc27f3d96569d 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.3 +version: 0.1.4 appVersion: "4b75e358" diff --git a/rtorrent/templates/secret.yaml b/rtorrent/templates/secret.yaml index 49a11e5f073ccdc778adf494b7c4bd447b23c5b7..1ad6bc8a865aab6062da7183158c2f2708c3ad8a 100644 --- a/rtorrent/templates/secret.yaml +++ b/rtorrent/templates/secret.yaml @@ -6,4 +6,4 @@ metadata: {{- include "rtorrent-helm.labels" . | nindent 4 }} stringData: "wireguard.conf": |- - {{ .Values.wireguard.config | toYaml | nindent 4 }} + {{- .Values.wireguard.config | nindent 4 }} diff --git a/rtorrent/values.yaml b/rtorrent/values.yaml index 81a956387613ed8f07c376addf63f29d1be5957d..e0d929b08244d78bd4f2fbd867b2373133773666 100644 --- a/rtorrent/values.yaml +++ b/rtorrent/values.yaml @@ -12,7 +12,16 @@ fullnameOverride: "" wireguard: enabled: false localNetworks: "" - config: "" + 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"" securityContext: capabilities: add: