Add flood

This commit is contained in:
2025-08-01 12:24:26 +02:00
parent 8bf0fe0cad
commit d285d430bc
5 changed files with 56 additions and 0 deletions
+16
View File
@@ -42,17 +42,33 @@ spec:
mountPath: /downloads
- name: medias
mountPath: /medias
- name: flood
image: jesec/flood:4.9.5
env:
- name: FLOOD_OPTION_AUTH
value: none
- name: FLOOD_OPTION_TRURL
value: "transmission.svc:9091"
- name: FLOOD_OPTION_TRUSER
value: ""
- name: FLOOD_OPTION_TRPASS
value: ""
volumeMounts:
- name: flood-config
mountPath: /data
- name: downloads
mountPath: /downloads
- name: medias
mountPath: /medias
volumes:
- name: config
persistentVolumeClaim:
claimName: config
- name: flood-config
persistentVolumeClaim:
claimName: flood-config
- name: medias
persistentVolumeClaim:
claimName: medias
+17
View File
@@ -0,0 +1,17 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: flood
spec:
ingressClassName: cilium
rules:
- host: flood.sdg.moe
http:
paths:
- backend:
service:
name: flood
port:
number: 80
path: /
pathType: Prefix
+1
View File
@@ -9,6 +9,7 @@ labels:
resources:
- ./deployment.yaml
- ./service.yaml
- ./ingress.yaml
- ./pv-downloads.yaml
- ./pv-medias.yaml
- ./pv-config.yaml
+11
View File
@@ -8,3 +8,14 @@ spec:
resources:
requests:
storage: 512Mi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: flood-config
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 512Mi
+11
View File
@@ -18,3 +18,14 @@ spec:
port: 51413
protocol: UDP
targetPort: 51413
---
apiVersion: v1
kind: Service
metadata:
name: flood
spec:
type: ClusterIP
ports:
- name: http
port: 80
targetPort: 3000