update volumes and expose port 8388

This commit is contained in:
2024-06-21 14:33:39 +10:00
parent ae8680ce63
commit 739d1fa4d7
5 changed files with 21 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
spec:
ports:
- name: torrent-tcp
port: 8388
targetPort: 8388
protocol: TCP
- name: torrent-udp
port: 8388
targetPort: 8388
protocol: UDP

View File

@@ -0,0 +1,4 @@
#!/bin/bash
set -e
kubectl patch service ingress-nginx-controller -n ingress-nginx --patch "$(cat kubernetes/apps/qbittorrent/scripts/ingress-nginx-svc-controller-patch.yaml)"