Files
shaandClaude Sonnet 4.6 bc9837b373 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>
2026-06-17 00:53:34 +03:00

37 lines
1.5 KiB
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}
labels:
app.kubernetes.io/name: {{ .Chart.Name }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
type: {{ .Values.service.type }}
{{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) .Values.service.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
{{- end }}
selector:
app: {{ .Release.Name }}
ports:
- name: webui
port: {{ .Values.webuiPort }}
targetPort: {{ .Values.webuiPort }}
protocol: TCP
{{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) .Values.service.nodePorts.webui }}
nodePort: {{ .Values.service.nodePorts.webui }}
{{- end }}
- name: torrent-tcp
port: {{ .Values.torrentPort }}
targetPort: {{ .Values.torrentPort }}
protocol: TCP
{{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) .Values.service.nodePorts.torrentTcp }}
nodePort: {{ .Values.service.nodePorts.torrentTcp }}
{{- end }}
- name: torrent-udp
port: {{ .Values.torrentPort }}
targetPort: {{ .Values.torrentPort }}
protocol: UDP
{{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) .Values.service.nodePorts.torrentUdp }}
nodePort: {{ .Values.service.nodePorts.torrentUdp }}
{{- end }}