k3s-cluster/cluster/apps/download/qbittorrent/ingress.yaml

25 lines
660 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: qbittorrent-ingress
namespace: download
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
spec:
rules:
- host: &host "qbit.${SECRET_NEW_DOMAIN}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: qbittorrent
port:
name: http
tls:
- hosts:
- *host
secretName: wildcard-main-tls