mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 03:27:08 +00:00
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:
+1
-1
@@ -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]+$
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
@@ -19,7 +19,11 @@ securityContext:
|
||||
runAsGroup: 1001
|
||||
fsGroup: 1001
|
||||
|
||||
env: {}
|
||||
rtorrentSocket: /config/rtorrent.sock
|
||||
floodNoAuth: true
|
||||
|
||||
env:
|
||||
HOME: /config
|
||||
|
||||
resources:
|
||||
requests:
|
||||
|
||||
Reference in New Issue
Block a user