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

24 lines
601 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: qbittorrent-ingress
namespace: download
annotations:
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