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

24 lines
601 B
YAML
Raw Normal View History

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