add route

This commit is contained in:
2025-03-02 23:08:45 -06:00
parent d8c349f632
commit a675601af0
3 changed files with 61 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: http-route-qbittorrent
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: http-route-qbittorrent
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: traefik-gateway
namespace: traefik
hostnames:
- qbittorrent.alexlebens.net
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- group: ''
kind: Service
name: qbittorrent
port: 8080
weight: 100