pdm drawings URL, notes routes in uralkal, notes contour frontend image

documentations base: pdm-api pointed DRAWINGS_INTERNAL_URL at
drawings-api-service:80, which does not exist in the clusters inheriting
base (vad, d8-ugmk-prod, sarex-contour, uralkal, yc-k8s-test); their drawings
service is backend-service:8000. brusnika and wb keep their own pdm copies.

istio-config uralkal: /notes/api/ -> backend-service.notes:8000 (rewrite
/api/) and /notes/static/ -> frontend-service.notes:80.

notes base frontend image -> notes-frontend:contour_5ff34172.
This commit is contained in:
ivan 2026-10-21 17:27:59 +05:00
parent 91fed827b4
commit ddb2fefdf0
3 changed files with 28 additions and 2 deletions

View File

@ -123,7 +123,7 @@ spec:
_default: "false"
- name: DRAWINGS_INTERNAL_URL
value:
_default: http://drawings-api-service.drawings.svc.cluster.local:80
_default: http://backend-service.drawings.svc.cluster.local:8000
- name: ATTACHMENTS_URL
value:
_default: http://attachments-service.attachments.svc.cluster.local:8000

View File

@ -48,7 +48,7 @@ spec:
enabled: false
image:
name:
_default: cr.yandex/crp3ccidau046kdj8g9q/notes-frontend:production_0cb0909f
_default: cr.yandex/crp3ccidau046kdj8g9q/notes-frontend:contour_5ff34172
pullPolicy:
_default: IfNotPresent
service:

View File

@ -389,6 +389,32 @@ spec:
rewrite: /
service: cross-section-static.cross-section.svc.cluster.local
port: 80
notes-api:
name: notes-api-virt-service
namespace: default
hosts:
- sarex.local.uralkali.com
gateways:
- default/platform-gateway
routes:
- path:
prefix: /notes/api/
rewrite: /api/
service: backend-service.notes.svc.cluster.local
port: 8000
notes-frontend:
name: notes-frontend-virt-service
namespace: default
hosts:
- sarex.local.uralkali.com
gateways:
- default/platform-gateway
routes:
- path:
prefix: /notes/static/
rewrite: /
service: frontend-service.notes.svc.cluster.local
port: 80
eav-api:
name: eav-api-virt-service
namespace: default