fix(rflood): set HOME=/config and flood --auth none --rtsocket for jesec

- HOME=/config makes rtorrent read /config/.rtorrent.rc and use /config/session/
- flood --auth none disables login requirement
- flood --rtsocket points to socket path from rtorrent.rc
- rtorrentSocket value used consistently in both configmap and command args

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
sha
2026-06-17 01:09:59 +03:00
co-authored by Claude Sonnet 4.6
parent 562efdcede
commit b3675933fc
4 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: rflood
description: rTorrent + Flood (jesec/rtorrent-flood) Helm chart
type: application
version: 0.2.2
version: 0.2.3
appVersion: "4.14.2"
annotations:
version-source: dockerhub-tags-pattern:jesec/rtorrent-flood:^[0-9]+\.[0-9]+\.[0-9]+$
+1 -1
View File
@@ -7,7 +7,7 @@ data:
rtorrent.rc: |
session.path.set = /config/session/
directory.default.set = /data
network.scgi.open_local = /config/rtorrent.sock
network.scgi.open_local = {{ .Values.rtorrentSocket }}
network.port_range.set = {{ .Values.torrentPort }}-{{ .Values.torrentPort }}
network.port_random.set = no
network.max_open_files.set = 600
+9 -2
View File
@@ -41,13 +41,20 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.env }}
command: ["/sbin/tini", "--"]
args:
- flood
- --rtsocket
- {{ .Values.rtorrentSocket }}
{{- if .Values.floodNoAuth }}
- --auth
- none
{{- end }}
env:
{{- range $key, $value := .Values.env }}
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
{{- end }}
ports:
- containerPort: {{ .Values.webuiPort }}
name: webui
+5 -1
View File
@@ -19,7 +19,11 @@ securityContext:
runAsGroup: 1001
fsGroup: 1001
env: {}
rtorrentSocket: /config/rtorrent.sock
floodNoAuth: true
env:
HOME: /config
resources:
requests: