Files
argocd-apps/apps/base/arrstack/mediamover/httproute.yaml
T
unkin-agent 8f7e8c5679
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
Deploy mediamover v0.1.0 into arrstack
Runs the mediamover server (API+UI on :8080) with mediafs mounted RW at /srv/src and the media-movies/media-tv PVCs as destinations; the SA/RBAC lets it spawn one worker Job per queued file. Exposed internally at mediamover.k8s.syd1.au.unkin.net via a dedicated internal Gateway (the arrproxy Gateway is external and hostname-locked).
2026-08-22 23:33:55 +10:00

50 lines
1.0 KiB
YAML

---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: mediamover-http-redirect
namespace: arrstack
spec:
hostnames:
- mediamover.k8s.syd1.au.unkin.net
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: mediamover
sectionName: http
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
matches:
- path:
type: PathPrefix
value: /
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: mediamover
namespace: arrstack
spec:
hostnames:
- mediamover.k8s.syd1.au.unkin.net
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: mediamover
sectionName: https
rules:
- backendRefs:
- group: ""
kind: Service
name: mediamover
port: 8080
weight: 1
matches:
- path:
type: PathPrefix
value: /