24 lines
590 B
YAML
24 lines
590 B
YAML
# Routes qbittorrent.ahmza.com through the cluster's shared ingress-nginx IP.
|
|||
|
|
apiVersion: networking.k8s.io/v1
|
||
|
|
kind: Ingress
|
||
|
|
metadata:
|
||
|
|
name: qbittorrent
|
||
|
|
namespace: qbittorrent
|
||
|
|
annotations:
|
||
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||
|
|
spec:
|
||
|
|
tls:
|
||
|
|
- hosts:
|
||
|
|
- qbittorrent.ahmza.com
|
||
|
|
secretName: qbittorrent-tls
|
||
|
|
rules:
|
||
|
|
- host: qbittorrent.ahmza.com
|
||
|
|
http:
|
||
|
|
paths:
|
||
|
|
- path: /
|
||
|
|
pathType: Prefix
|
||
|
|
backend:
|
||
|
|
service:
|
||
|
|
name: qbittorrent
|
||
|
|
port:
|
||
|
|
number: 8080
|