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

25 lines
660 B
YAML
Raw Normal View History

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