Route Leantime through Studio

This commit is contained in:
Arvind Prabhakar 2026-09-06 19:46:28 +00:00
commit 690ee80f01

View file

@ -0,0 +1,38 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: leantime
namespace: leantime
spec:
parentRefs:
- name: public-gateway
namespace: apps
hostnames:
- "www.symcrest.com"
rules:
- matches:
- path:
type: Exact
value: /services/studio/leantime
filters:
- type: RequestRedirect
requestRedirect:
scheme: https
path:
type: ReplaceFullPath
replaceFullPath: /services/studio/leantime/
statusCode: 301
- matches:
- path:
type: PathPrefix
value: /services/studio/leantime/
filters:
- type: URLRewrite
urlRewrite:
path:
type: ReplacePrefixMatch
replacePrefixMatch: /
backendRefs:
- name: leantime
port: 8080