From 0dfbe280fa1c906d35c721e0b755c5d6e38cd6f1 Mon Sep 17 00:00:00 2001 From: Shailesh Patil <53746241+mineme0110@users.noreply.github.com> Date: Wed, 22 Nov 2023 21:19:28 +0000 Subject: [PATCH] fix: websocket correct indentation (#182) * fix: websocket correct indentation * fix: websocket correct indentation Signed-off-by: Shailesh --- .../mediator/templates/apisixroute.yaml | 24 +------------------ 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/infrastructure/charts/mediator/templates/apisixroute.yaml b/infrastructure/charts/mediator/templates/apisixroute.yaml index 1f6772c4..e9e6aa91 100644 --- a/infrastructure/charts/mediator/templates/apisixroute.yaml +++ b/infrastructure/charts/mediator/templates/apisixroute.yaml @@ -19,29 +19,7 @@ spec: backends: - serviceName: mediator-service servicePort: 8080 - plugins: - - name: proxy-rewrite - enable: true - config: - regex_uri: ["^/(.*)","/$1"] - - name: request-id - enable: true - config: - header_name: "X-Request-ID" - include_in_response: true - {{ template "cors" . }} - - name: mediator-ws-rule - match: - hosts: - {{- range .Values.ingress.applicationUrls }} - - {{ . }} - {{- end }} - paths: - - /* - backends: - - serviceName: mediator-service - servicePort: 8080 - websocket: true + websocket: true plugins: - name: proxy-rewrite enable: true