29 lines
479 B
YAML
29 lines
479 B
YAML
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: qbittorrent-route
|
|
spec:
|
|
parentRefs:
|
|
- name: internal
|
|
namespace: kube-system
|
|
sectionName: https
|
|
hostnames:
|
|
- "download.wheatley.in"
|
|
rules:
|
|
- backendRefs:
|
|
- name: qbittorrent
|
|
port: 80
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: qbittorrent
|
|
spec:
|
|
selector:
|
|
app: qbittorrent
|
|
ports:
|
|
- port: 80
|
|
protocol: TCP
|
|
targetPort: 8112
|