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
|
name: rflood
|
||||||
description: rTorrent + Flood (jesec/rtorrent-flood) Helm chart
|
description: rTorrent + Flood (jesec/rtorrent-flood) Helm chart
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.2
|
version: 0.2.3
|
||||||
appVersion: "4.14.2"
|
appVersion: "4.14.2"
|
||||||
annotations:
|
annotations:
|
||||||
version-source: dockerhub-tags-pattern:jesec/rtorrent-flood:^[0-9]+\.[0-9]+\.[0-9]+$
|
version-source: dockerhub-tags-pattern:jesec/rtorrent-flood:^[0-9]+\.[0-9]+\.[0-9]+$
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ data:
|
|||||||
rtorrent.rc: |
|
rtorrent.rc: |
|
||||||
session.path.set = /config/session/
|
session.path.set = /config/session/
|
||||||
directory.default.set = /data
|
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_range.set = {{ .Values.torrentPort }}-{{ .Values.torrentPort }}
|
||||||
network.port_random.set = no
|
network.port_random.set = no
|
||||||
network.max_open_files.set = 600
|
network.max_open_files.set = 600
|
||||||
|
|||||||
@@ -41,13 +41,20 @@ spec:
|
|||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
{{- if .Values.env }}
|
command: ["/sbin/tini", "--"]
|
||||||
|
args:
|
||||||
|
- flood
|
||||||
|
- --rtsocket
|
||||||
|
- {{ .Values.rtorrentSocket }}
|
||||||
|
{{- if .Values.floodNoAuth }}
|
||||||
|
- --auth
|
||||||
|
- none
|
||||||
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- range $key, $value := .Values.env }}
|
{{- range $key, $value := .Values.env }}
|
||||||
- name: {{ $key }}
|
- name: {{ $key }}
|
||||||
value: {{ $value | quote }}
|
value: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.webuiPort }}
|
- containerPort: {{ .Values.webuiPort }}
|
||||||
name: webui
|
name: webui
|
||||||
|
|||||||
+5
-1
@@ -19,7 +19,11 @@ securityContext:
|
|||||||
runAsGroup: 1001
|
runAsGroup: 1001
|
||||||
fsGroup: 1001
|
fsGroup: 1001
|
||||||
|
|
||||||
env: {}
|
rtorrentSocket: /config/rtorrent.sock
|
||||||
|
floodNoAuth: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
HOME: /config
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
Reference in New Issue
Block a user