Commit Graph

1613 Commits

Author SHA1 Message Date
diamondrigido
af56004006 fix: незначительные изменения
1. Изменения базового образа для документации, чтоб копирование работало
2. output_navis env для wb engine
2026-10-26 13:49:08 +02:00
af112cfffe ++ srx ui kit pages 2026-10-26 14:42:34 +03:00
ivan
03eb83b362 ++ 2026-10-26 14:09:35 +05:00
ivan
a8716d51b3 ++ 2026-10-26 13:55:03 +05:00
ivan
a71b15ae18 ++ 2026-10-26 13:39:04 +05:00
ivan
a2f6a234cb ++ 2026-10-26 13:35:49 +05:00
ivan
6b5e2b7a1f ++ 2026-10-26 13:26:00 +05:00
ivan
5cbcdd4ff7 ++ 2026-10-26 13:07:14 +05:00
36b63ef189 ++ vk lb new fip 2026-10-26 10:56:02 +03:00
emelinda
4727e26c70 Update wb backend resource limits and service host references for consistency and performance 2026-10-26 11:48:24 +05:00
emelinda
91d6aa41d6 Add HelmRelease for pdf-markings-amqp in d8-ugmk-prod and update kustomization configuration 2026-10-26 09:53:21 +05:00
ivan
b3a1fe63c2 ++ 2026-10-24 12:53:11 +05:00
ivan
10d962dce5 ++ 2026-10-24 12:30:16 +05:00
ivan
3cfe74c301 ++ 2026-10-24 12:18:37 +05:00
ivan
c36406209f issues: SAREX_API from env, in-cluster Django in uralkal, vad, ugmk
The base production.py hardcoded SAREX_API = https://srx.wb.ru, ignoring the
env, so issue export (GET /api/core/users/<id>/) failed from closed contours
with CERTIFICATE_VERIFY_FAILED. Read it from SAREX_API with the old value as
default; wb keeps it.

uralkal, vad, d8-ugmk-prod: SAREX_API -> backend-svc.django:80 (server-side
calls, no TLS), and SAREX_HOST set to the contour's public host so links in
exports and notifications stay external.
2026-10-24 12:01:25 +05:00
emelinda
314d2103d0 Update wb Istio configuration: add CORS settings for https://srx.wb.ru and https://lk.srx.wb.ru 2026-10-23 18:13:26 +05:00
emelinda
ced8b7bc04 Update wb configurations: increase filestream resource limits, fix BIM_API_URL references, and add Istio routing for /bimv2/api/ 2026-10-23 18:09:28 +05:00
ivan
7d25e214cd ++ 2026-10-23 17:06:06 +05:00
ivan
934241a9b1 premises/d8-ugmk-prod: privileged pod-policy on the namespace
Deckhouse admission-policy-engine (baseline) rejected the pods because
istio-init needs NET_ADMIN and NET_RAW. Label the namespace
security.deckhouse.io/pod-policy=privileged like the other app namespaces in
ugmk.
2026-10-23 16:38:08 +05:00
ivan
54c036b23e premises in ugmk, inspections VS name fix, remarks contour image, debug pod sleep
premises: d8-ugmk-prod overlay (ugmk Kafka CA mounted, prod-sized requests
dropped), wired into the cluster, /premises/api/ routed on sarex.uralmine.com.
Terraform side is infra/terraform 856ab54.

istio-config d8-ugmk-prod, vad, uralkal: inspections-api reused the name
flows-api-virt-service, so two VirtualServices collided and one of
/flows/api/ and /inspections/api/ was lost. It is now
inspections-api-virt-service.

remarks base frontend image -> remarks-frontend:contour_013c5091.
psql-tools-debug in uralkal sleeps forever so it can be exec'd into.
2026-10-23 16:07:19 +05:00
ivan
7dbefd16c9 ++ 2026-10-22 22:19:52 +05:00
ivan
30eb5c554f mapper/uralkal: own env with in-cluster addresses
The overlay inherited SaaS prod hosts from base (api.sarex.io, lk.sarex.io),
which fail TLS verification from the closed contour. Point documentations,
flows, django and notes at their uralkal services; REDIS_USE and TIMEOUT
unchanged.
2026-10-22 21:32:36 +05:00
ivan
005e88d91e drawings/uralkal: workflow env for DWG export
drawings-api builds its workflows client from WORKFLOW_HOST, which no cluster
set, so POST /internal/v1/exports failed with 'unsupported protocol scheme'.
Add WORKFLOW_HOST and the other export settings from the drawings-api chart
with uralkal service addresses (processing, drawings, attachments).
2026-10-22 21:25:53 +05:00
3a62bd4792 ++ spicedb vk prod 2026-10-22 14:32:24 +03:00
ivan
7fec316147 ++ 2026-10-22 15:42:52 +05:00
ivan
5e87556471 ++ 2026-10-22 15:13:08 +05:00
ivan
bbe4d60705 notes/uralkal: own env with in-cluster addresses
The overlay inherited base env copied from SaaS prod: DJANGO_HOST
https://lk.sarex.io, workspaces/workflows on api.sarex.io and PG_SSL_MODE
verify-full. From the closed contour every request to django failed with
CERTIFICATE_VERIFY_FAILED. Point django, workspaces and workflows at their
uralkal services, attachments at its real port 8000, disable postgres SSL
(the uralkal server has none). FAAS_SERVICE and RESOURCE_URL stay as in base:
neither service exists in uralkal.
2026-10-22 14:41:39 +05:00
de5992a73a ++ vk business domains 2026-10-22 10:53:27 +03:00
ivan
d8ed05e07f attachments/uralkal: S3 endpoint straight to MinIO
YANDEX_S3_ENDPOINT_URL 10.133.0.245:9000 instead of s3-proxy, same as
documentations; the minioadmin credentials come from minio/apps/attachments
(terraform contour).
2026-10-22 12:41:35 +05:00
ivan
e0dcd7372c ++ 2026-10-22 11:26:49 +05:00
ivan
0c651d3d92 comparisons/uralkal: own tasks-execution-config
Overrides the base tasks-execution-config-comparisons-v2 ConfigMap (mounted
at /etc/app/tasks-execution-config.json) for uralkal: all 16 workflow tasks
run on the k8s executor with 2 CPU / 4Gi requests.
2026-10-22 00:55:17 +05:00
ivan
7a3d4740bc comparisons/uralkal: documentations external host -> internal service
comparisons-api-v2 calls GET /api/v1/bundles and /api/v1/workspaces on
DOCUMENTATIONS_EXTERNAL_HOST from inside the pod. sarex.local.uralkali.com
is signed by the customer's internal CA, which the image does not trust
(x509: unknown authority), so creating a comparison failed with 500. The
documentations service serves the same /api/v1 paths internally.
2026-10-22 00:14:15 +05:00
ivan
0c0f5c7f55 ++ 2026-10-21 20:32:59 +05:00
04b6381d95 ++ dns01 cloudflare issuer 2026-10-21 18:21:01 +03:00
ivan
ca9184405a ++ 2026-10-21 20:08:28 +05:00
957dc3aed1 ++ es processing via postrenderer 2026-10-21 17:29:09 +03:00
1b2469a6ea ++ es on processing node 2026-10-21 17:19:40 +03:00
d5ebf66329 ++ es heap and limits 2026-10-21 17:01:58 +03:00
0fc547c16f ++ optimize replicas via config 2026-10-21 16:52:28 +03:00
ac809510da ++ optimize zero replicas 2026-10-21 16:45:42 +03:00
ivan
f9325ca612 ++ 2026-10-21 18:44:23 +05:00
ivan
6bacdace28 ++ 2026-10-21 18:13:37 +05:00
ivan
ddb2fefdf0 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.
2026-10-21 17:27:59 +05:00
ivan
91fed827b4 ++ 2026-10-21 17:07:52 +05:00
ivan
be78040179 cross-section: contour image in base, /cross-section/static/ route in uralkal
Base image moves to cross-section-app:contour_c5e5d476 for every cluster
inheriting it. istio-config uralkal routes /cross-section/static/ to
cross-section-static:80.
2026-10-21 16:35:01 +05:00
ivan
2e4879aa53 comparisons/uralkal: PGSSLMODE=disable
comparisons-api-v2 builds its postgres URI without sslmode, so both lib/pq
(migrations) and pgx (api) default to requiring TLS, which the uralkal
postgres does not serve.
2026-10-21 16:29:54 +05:00
ivan
86d8a066cd comparisons: v2 backend in uralkal, routes, contour frontend image
uralkal runs comparisons-api-v2:contour_9a2bab4e (built with bash so the
Vault Agent files can be sourced): migrations up before exec ./api, port 8080
behind the unchanged service port 8000, v2 env schema with uralkal service
addresses. istio-config uralkal routes /comparisons/api/ and
/comparisons/static/. Base frontend image moves to
comparisons-frontend:contour_0570a1f1 for every cluster using base.
2026-10-21 16:22:15 +05:00
ivan
03f6eef5b9 ++ 2026-10-21 15:41:09 +05:00
ivan
2c1ab636ef ++ 2026-10-21 14:10:59 +05:00
ce7d3f143a ++ gateway back to old fip 2026-10-21 12:09:45 +03:00