From 0b24f3cfeade5d24f2ddab37de939ff2fbcf3d0b Mon Sep 17 00:00:00 2001 From: Mina Otgonbold <AOtgonbold@slb.com> Date: Tue, 19 Apr 2022 10:33:08 -0500 Subject: [PATCH] revert virtual-service changes --- .../chart/templates/virtual-service.yaml | 73 +------------------ 1 file changed, 2 insertions(+), 71 deletions(-) diff --git a/devops/azure/chart/templates/virtual-service.yaml b/devops/azure/chart/templates/virtual-service.yaml index e92dcbfec..f9829f863 100644 --- a/devops/azure/chart/templates/virtual-service.yaml +++ b/devops/azure/chart/templates/virtual-service.yaml @@ -11,76 +11,8 @@ spec: - "{{ .Values.istioDnsHost }}" gateways: - istio-gateway - http: - - name: "Settings specific to the Swagger page and resources" - match: - - uri: - prefix: "/api/indexer/v2/webjars" - - uri: - prefix: "/api/indexer/v2/swagger-resources" - - uri: - prefix: "/api/indexer/v2/v3/api-docs" - - uri: - prefix: "/api/indexer/v2/swagger-ui" - route: - - destination: - host: {{ .Chart.Name }} - port: - number: 80 - headers: - response: - set: - cache-control: "private, max-age=300" - corsPolicy: - maxAge: "60m" - allowCredentials: true - allowHeaders: - - Authorization - - Data-Partition-Id - - Correlation-Id - - Content-Type - - cache-control - allowMethods: - - POST - - GET - - PUT - - PATCH - - DELETE - allowOrigins: - - prefix: "*" - - name: "Settings specific to the QueryAttributeApi API" - match: - - uri: - prefix: "/api/indexer/v2/query/attributes" - route: - - destination: - host: {{ .Chart.Name }} - port: - number: 80 - headers: - response: - set: - cache-control: "private, max-age=300, stale-while-revalidate=600, stale-if-error=600" - vary: "data-partition-id,authorization" - corsPolicy: - maxAge: "60m" - allowCredentials: true - allowHeaders: - - Authorization - - Data-Partition-Id - - Correlation-Id - - Content-Type - - cache-control - allowMethods: - - POST - - GET - - PUT - - PATCH - - DELETE - allowOrigins: - - prefix: "*" - - name: "Default settings, applies to everything not matched above" - match: + http: + - match: - uri: prefix: "/api/indexer/v2" route: @@ -96,7 +28,6 @@ spec: - Data-Partition-Id - Correlation-Id - Content-Type - - cache-control allowMethods: - POST - GET -- GitLab