diff --git a/infrastructure/istio-config/brusnika-stage/istio-config.yaml b/infrastructure/istio-config/brusnika-stage/istio-config.yaml index 582899a..30fff9d 100644 --- a/infrastructure/istio-config/brusnika-stage/istio-config.yaml +++ b/infrastructure/istio-config/brusnika-stage/istio-config.yaml @@ -469,6 +469,212 @@ spec: prefix: / service: gitea.gitea.svc.cluster.local port: 3000 + workflows-static-vs: + namespace: workflow + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /static/workflows/ + rewrite: / + service: frontend-service.workflow.svc.cluster.local + port: 8080 + workspaces-v2-static-vs: + namespace: workspaces + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /static/workspaces-v2/ + rewrite: / + service: workspaces-v2-frontend-static-service.workspaces.svc.cluster.local + port: 8080 + checklists-vs: + namespace: checklist + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /checklists/admin/ + service: backend-service.checklist.svc.cluster.local + port: 8000 + - path: + prefix: /checklists/api/ + rewrite: /api/ + service: backend-service.checklist.svc.cluster.local + port: 8000 + res-admin-vs: + namespace: resources + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /res-admin/ + service: resources-service.resources.svc.cluster.local + port: 8000 + inspections-vs: + namespace: inspections + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /inspections/static/ + rewrite: / + service: frontend-service.inspections.svc.cluster.local + port: 80 + - path: + prefix: /inspections/api/ + rewrite: /api/ + service: inspections-service.inspections.svc.cluster.local + port: 80 + workflows-api-vs: + namespace: workflow + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /workflows/api/ + rewrite: /api/ + service: workflows-api-service.workflow.svc.cluster.local + port: 8000 + workspaces-api-vs: + namespace: workspaces + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /workspaces/api/ + rewrite: /api/ + service: workspaces-service.workspaces.svc.cluster.local + port: 8000 + global-media-vs: + namespace: django + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /media/ + rewrite: / + service: s3-proxy-service.django.svc.cluster.local + port: 80 + remarks-static-vs: + namespace: issues + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /remarks/static/ + rewrite: / + service: remarks-static.issues.svc.cluster.local + port: 80 + global-resources-vs: + namespace: resources + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /resources/ + rewrite: / + service: resources-service.resources.svc.cluster.local + port: 8000 + comparisons-vs: + namespace: comparisons + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /comparisons/static/ + rewrite: / + service: comparisons-service.comparisons.svc.cluster.local + port: 8080 + - path: + prefix: /comparisons/api/ + rewrite: /api/ + service: backend-service.comparisons.svc.cluster.local + port: 80 + administration-users-vs: + namespace: django + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /administration/users + service: frontend-service.django.svc.cluster.local + port: 80 + orchestrator-vs: + namespace: orchestrator + hosts: + - test.sarex.brusnika.tech + gateways: + - ingress-nginx/main-gateway + cors: + allowOrigins: + - regex: ".*" + routes: + - path: + prefix: /orchestrator/ + service: cde.orchestrator.svc.cluster.local + port: 8080 global-test-vs: namespace: global-ingress hosts: