feat(rflood): switch to jesec/rtorrent-flood to fix scheduler crash

hotio/rflood bundles rtorrent with a scheduler assertion bug that fires
on torrent delete and shutdown. jesec/rtorrent-flood uses an actively
maintained rtorrent fork with this fixed.

Changes:
- Image: hotio/rflood → jesec/rtorrent-flood:4.14.2
- webuiPort: 3000 → 3001
- Add ConfigMap for .rtorrent.rc (jesec requires explicit config)
- Replace PUID/PGID env vars with pod securityContext (runAsUser/Group 1001)
- Liveness probe: exec rtxmlrpc → httpGet on webui port
- Remove TCP RPC port from service (jesec uses Unix socket)
- Update version-source to dockerhub-tags-pattern for jesec tags

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
sha
2026-06-17 00:53:34 +03:00
co-authored by Claude Sonnet 4.6
parent aa8de3f8a3
commit bc9837b373
5 changed files with 45 additions and 36 deletions
+13 -8
View File
@@ -21,6 +21,10 @@ spec:
labels:
app: {{ .Release.Name }}
spec:
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
@@ -37,16 +41,16 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.env }}
env:
{{- range $key, $value := .Values.env }}
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
{{- end }}
ports:
- containerPort: {{ .Values.webuiPort }}
name: webui
- containerPort: {{ .Values.rpcPort }}
name: rpc
- containerPort: {{ .Values.torrentPort }}
name: torrent-tcp
protocol: TCP
@@ -57,18 +61,16 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.livenessProbe.enabled }}
livenessProbe:
exec:
{{- toYaml .Values.livenessProbe.exec | nindent 14 }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
{{- omit .Values.livenessProbe "enabled" | toYaml | nindent 12 }}
{{- end }}
volumeMounts:
- name: config
mountPath: /config
- name: data
mountPath: /data
- name: rtorrent-config
mountPath: /config/.rtorrent.rc
subPath: rtorrent.rc
volumes:
- name: config
persistentVolumeClaim:
@@ -77,3 +79,6 @@ spec:
hostPath:
path: {{ .Values.volumes.data.hostPath }}
type: DirectoryOrCreate
- name: rtorrent-config
configMap:
name: {{ .Release.Name }}-rtorrent-config