From 90cbd2387c9d18f5833e5e9be1cae28948dccc2b Mon Sep 17 00:00:00 2001 From: Ha Minh Chien Date: Sat, 28 Dec 2024 06:07:18 +0700 Subject: [PATCH] fix --- .../k8s/helm-chart/templates/http-route.yaml | 22 ------------------- .../k8s/helm-chart/templates/http-route.yaml | 2 +- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 apps/browser-service/k8s/helm-chart/templates/http-route.yaml diff --git a/apps/browser-service/k8s/helm-chart/templates/http-route.yaml b/apps/browser-service/k8s/helm-chart/templates/http-route.yaml deleted file mode 100644 index b445b045..00000000 --- a/apps/browser-service/k8s/helm-chart/templates/http-route.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: gateway.networking.k8s.io/v1 -kind: HTTPRoute -metadata: - name: browser-service - namespace: infra -spec: - parentRefs: - - kind: Gateway - name: gateway-external - namespace: envoy-gateway-system - sectionName: http - rules: - - timeouts: - request: "60s" - backendRequest: "60s" - matches: - - path: - type: PathPrefix - value: /api - backendRefs: - - name: browser-service - port: 5001 diff --git a/apps/hcdc-web-app/k8s/helm-chart/templates/http-route.yaml b/apps/hcdc-web-app/k8s/helm-chart/templates/http-route.yaml index 3a21531d..0d91bcd8 100644 --- a/apps/hcdc-web-app/k8s/helm-chart/templates/http-route.yaml +++ b/apps/hcdc-web-app/k8s/helm-chart/templates/http-route.yaml @@ -18,7 +18,7 @@ spec: matches: - path: type: PathPrefix - value: /api + value: / backendRefs: - name: hcdc-web-app port: 80