feat: Add ingress
This commit is contained in:
parent
e3e9e3b6e7
commit
d37318dbd5
3 changed files with 43 additions and 25 deletions
|
|
@ -14,3 +14,46 @@ spec:
|
|||
- backendRefs:
|
||||
- name: qbittorrent
|
||||
port: 80
|
||||
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: qbittorrent-route
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: internal
|
||||
namespace: kube-system
|
||||
sectionName: https
|
||||
hostnames:
|
||||
- "slskd.wheatley.in"
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: slskd
|
||||
port: 80
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: qbittorrent
|
||||
spec:
|
||||
selector:
|
||||
app: qbittorrent
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8112
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: slskd
|
||||
spec:
|
||||
selector:
|
||||
app: qbittorrent
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 5030
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue