From 690ee80f01fb1e0aea480e7fe403a942e19a18f4 Mon Sep 17 00:00:00 2001 From: Arvind Prabhakar Date: Sun, 6 Sep 2026 19:46:28 +0000 Subject: [PATCH] Route Leantime through Studio --- .../gateway/envoy/routes/leantime.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 infrastructure/gateway/envoy/routes/leantime.yaml diff --git a/infrastructure/gateway/envoy/routes/leantime.yaml b/infrastructure/gateway/envoy/routes/leantime.yaml new file mode 100644 index 0000000..cd3384a --- /dev/null +++ b/infrastructure/gateway/envoy/routes/leantime.yaml @@ -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