++
This commit is contained in:
parent
ebe1bbfd08
commit
0c04c357dc
@ -3,7 +3,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2
|
|||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
metadata:
|
metadata:
|
||||||
name: frontend
|
name: frontend
|
||||||
namespace: document-link
|
namespace:
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
interval: 10m
|
interval: 10m
|
||||||
|
|||||||
@ -217,6 +217,19 @@ spec:
|
|||||||
rewrite: /
|
rewrite: /
|
||||||
service: frontend-svc.issues.svc.cluster.local
|
service: frontend-svc.issues.svc.cluster.local
|
||||||
port: 80
|
port: 80
|
||||||
|
remarks-frontend:
|
||||||
|
name: remarks-frontend-virt-service
|
||||||
|
namespace: default
|
||||||
|
hosts:
|
||||||
|
- sarex.uralmine.com
|
||||||
|
gateways:
|
||||||
|
- default/platform-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /remarks/static/
|
||||||
|
rewrite: /
|
||||||
|
service: frontend-service.remarks.svc.cluster.local
|
||||||
|
port: 80
|
||||||
auth-frontend:
|
auth-frontend:
|
||||||
name: auth-frontend-virt-service
|
name: auth-frontend-virt-service
|
||||||
namespace: default
|
namespace: default
|
||||||
@ -481,33 +494,3 @@ spec:
|
|||||||
prefix: /
|
prefix: /
|
||||||
service: frontend-service.document-link.svc.cluster.local
|
service: frontend-service.document-link.svc.cluster.local
|
||||||
port: 80
|
port: 80
|
||||||
envoyFilters:
|
|
||||||
cors-uralmine:
|
|
||||||
namespace: istio-system
|
|
||||||
workloadSelector:
|
|
||||||
labels:
|
|
||||||
istio.deckhouse.io/ingress-gateway-class: istio
|
|
||||||
configPatches:
|
|
||||||
- applyTo: HTTP_FILTER
|
|
||||||
match:
|
|
||||||
context: GATEWAY
|
|
||||||
listener:
|
|
||||||
filterChain:
|
|
||||||
filter:
|
|
||||||
name: envoy.filters.network.http_connection_manager
|
|
||||||
subFilter:
|
|
||||||
name: envoy.filters.http.router
|
|
||||||
patch:
|
|
||||||
operation: INSERT_BEFORE
|
|
||||||
value:
|
|
||||||
name: envoy.filters.http.cors
|
|
||||||
typed_config:
|
|
||||||
'@type': type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors
|
|
||||||
cors:
|
|
||||||
allow_credentials: true
|
|
||||||
allow_headers: "Authorization,Content-Type"
|
|
||||||
allow_methods: "GET,POST,PUT,PATCH,DELETE,OPTIONS"
|
|
||||||
allow_origin_string_match:
|
|
||||||
- safe_regex:
|
|
||||||
regex: https://.*\.uralmine\.com
|
|
||||||
max_age: "86400"
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user