Commit Graph

622 Commits

Author SHA1 Message Date
ivan
eee76def70 stand: reduce application CPU reservations for Istio and Vault 2026-11-23 13:20:07 +05:00
ivan
6b7d461034 brusnika-stage: deploy SpiceDB with persistent PostgreSQL 2026-11-20 12:49:09 +05:00
ivan
842e117365 brusnika-stage: deploy premises API with ephemeral PostgreSQL 2026-11-19 12:53:07 +05:00
ivan
e1cce5e1f0 stand: волна 4 — documentations, processing, cde, transmittal; JSON-аккаунты documentations из MinIO и zitadel/setup 2026-11-13 13:59:44 +05:00
ivan
1328aa3ec7 stand: свой istio-config по образцу uralkal — хост sarex.stand.sarex.tech с маршрутами к развёрнутым сервисам, сертификат stand-sarex-tls, JWKS ключа стенда, ServiceEntry JWKS Zitadel 2026-11-13 13:52:02 +05:00
ivan
ac83947697 stand: волна 3 — flows, iam, inspections, issues, mapper, notes, rfi, system-log, workspaces, contracts, message-hub, premises; django: Job сервисного пользователя для django_auth 2026-11-13 12:28:48 +05:00
ivan
b3f874f481 stand: волна 2 — attachments, measurements, eav, resources, subscriptions, pm; pm base: перевод строки после S3_BUCKET 2026-11-12 15:43:12 +05:00
ivan
3f8eb8baea stand: ams-sync убран из слоя — интеграция ugok, нужен kafka-cert заказчика 2026-11-09 15:37:33 +05:00
ivan
dc22a66d8c stand: bi берёт публичный ключ у django внутри кластера; comparisons убран из слоя — в base устаревший образ 2026-11-09 15:20:15 +05:00
ivan
cc06535eca stand: волна 1 — фронтенды, faas, ams-sync, drawings, bi, checklists, comparisons; оверлеи меняют только хосты 2026-11-09 15:03:16 +05:00
ivan
fb49327aa7 stand: django в слое 50-apps; оверлей меняет только хосты и шаблоны Vault стенда, frontend и srx-admin отключены 2026-11-09 14:31:43 +05:00
ivan
14a2ce2956 stand: слой 50-apps с bim; оверлей меняет только нужные env через replacements по имени 2026-11-09 14:06:34 +05:00
emelinda
a0899630ca uralkal: postpone vault audit journal (overlay and vault_audit pipeline) — rollout planned separately 2026-11-09 00:23:26 +03:00
emelinda
e5092ff66b uralkal: enable vault audit journal (vault/uralkal-audit overlay, vault_audit pipeline in audit-processor) 2026-11-08 23:52:03 +03:00
emelinda
338e98ad2f uralkal: export istio and app traces to S3 via opentelemetry-collector
- add opentelemetry-collector/uralkal overlay: otlp + zipkin receivers,
  awss3 exporter to the contour MinIO (10.133.0.245:9000, bucket "security-audit",
  prefix traces/, hourly partitions, gzip, otlp_proto), credentials from
  otel-collector-minio secret (same keys as security-audit-minio)
- harden per security-audit conventions: NetworkPolicy (ingest ports + MinIO
  egress only), PDB, pod anti-affinity, non-root, no sidecar (HTTP ServiceEntry
  on :9000 would shadow direct-IP egress to MinIO)
- istio-pilot/uralkal: enable mesh tracing (zipkin to otel-collector), sampling 100
- istio-config/uralkal: add-traceparent EnvoyFilter for all app namespaces
- clusters/uralkal: wire the collector overlay

Rollout order: apply the iac overlay first (creates the namespace), then
terragrunt apply in infra/terraform (branch contour, env uralkal) which rolls
regcred + otel-collector-minio + otel-collector-kafka secrets into the
opentelemetry-collector namespace and adds the traces/ lifecycle rule.
2026-11-08 18:23:55 +03:00
emelinda
f0014c5d00 uralkal: подключить security-audit — аудит apiserver, журнал доступа шлюза, события Zitadel
DaemonSet audit-collector на control-plane (журнал kube-apiserver → security.k8s-audit),
Deployment access-collector (OTLP :4317 — журнал доступа ingress-шлюза → security.mesh-access,
webhookevent :8088 — события Zitadel Actions v2 → security.idp-events, otlp :4319 — журнал
аудита Vault → security.vault-audit), Job idp-actions-bootstrap (Target + Execution'ы в Zitadel),
NetworkPolicy/AuthorizationPolicy, EnvoyFilter strip-audit-headers и Telemetry шлюза
на провайдер audit-access (уже раскатан в istio-pilot/uralkal).

Предусловия выполнены вне репозитория: аудит apiserver на мастерах (INFRA-3057),
топики security.* и SCRAM-пользователь в Kafka, бакет security-audit в MinIO,
секреты и роли Vault (terraform, vault-platform-secrets).
2026-11-06 16:47:32 +03:00
emelinda
509926a108 uralkal: отключить postgres-tls-test и istio-mtls-check от кластера
Оверлеи убраны из clusters/uralkal/kustomization.yaml, манифесты
apps/postgres-tls-test/ и infrastructure/istio-mtls-check/ сохранены
для возможного повторного подключения.
2026-11-06 15:35:36 +03:00
emelinda
ad28069436 Add Istio mTLS check manifests to uralkal cluster 2026-11-05 03:23:43 +03:00
ivan
5e5148e951 uralkal: тестовый PostgreSQL с TLS и notes-backend с verify-full (п.31, INFRA-3062)
ns postgres-tls-test: postgresql-contour pg-tls с tls.autoGenerated,
ssl_min_protocol_version TLSv1.2, pg_hba только hostssl (local для
администрирования); notes-tls на образе notes-backend с
PG_SSL_MODE/PGSSLMODE=verify-full и CA из pg-tls-crt.
regcred в ns создаётся вручную.
2026-11-02 13:14:59 +05:00
ivan
b7e7fc1c72 uralkal: drift detection для всех HelmRelease (п.39, INFRA-3058)
driftDetection.mode: enabled патчем в clusters/uralkal/kustomization.yaml,
base и другие контуры не затронуты. Исключены webhooks в
Mutating/ValidatingWebhookConfiguration (caBundle пишут vault-injector и
istiod) и /spec/replicas Deployment у istiod (HPA istio-system/istiod).
Kustomization flux-system уже prune: true, interval: 10m.
2026-11-02 12:32:59 +05:00
9f2c6932d7 ++ camunda timeout 30m 2026-10-31 15:21:43 +03:00
13b9ca8a9f ++ stand chart repo from vars 2026-10-29 15:05:47 +03:00
b7c36a5348 ++ stand routing layer 2026-10-28 15:31:36 +03:00
0037411aae ++ stand camunda via vault 2026-10-28 15:18:25 +03:00
1c3525fc1b ++ stand platform layer zitadel 2026-10-28 11:15:41 +03:00
a3fa7ba4c0 ++ stand data layer 2026-10-28 10:37:30 +03:00
32e4cff59e ++ stand flux cancel stale health check 2026-10-28 10:33:19 +03:00
34cbe7c79e ++ stand mesh layer 2026-10-28 10:33:19 +03:00
f5a217e793 ++ stand vault layer 2026-10-27 22:48:56 +03:00
84f2555494 ++ stand cluster and slicer 2026-10-27 22:30:13 +03:00
Pavel Ershov
385abf1092
Outline в vk-infra
- infrastructure/outline/vk-infra: namespace, HelmRelease outline-valkey (valkey 0.1.0, standalone) и outline (outline 0.1.0, Outline 1.12.0)
- clusters/vk-infra: подключение outline/vk-infra
- istio-config/vk-infra: Certificate, Gateway и VirtualService для wiki.sarex.space

Секреты outline и outline-valkey созданы в кластере вручную.
2026-10-26 20:49:39 +03: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
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
3a62bd4792 ++ spicedb vk prod 2026-10-22 14:32:24 +03:00
e994174b1e ++ clickhouse vk prod 2026-10-20 13:08:10 +03:00
b684295b0d ++ valkey vk prod 2026-10-20 11:47:40 +03:00
0a397cb4ec ++ camunda domains vk 2026-10-19 15:47:40 +03:00
04e07394bc ++ camunda vk prod 2026-10-19 15:31:38 +03:00
077b7b6c7a ++ vk prod rabbitmq kafka 2026-10-19 10:53:29 +03:00
84231c856e ++ nexus infra 2026-10-15 18:25:08 +03:00
79d89bac13 ++ runner prod 2026-10-15 13:05:06 +03:00
25b327805f ++ runner on 2026-10-15 12:50:55 +03:00
20e5a08e75 ++ vk prod istio 2026-10-15 12:21:40 +03:00
97451d6628 ++ flux ha prod 2026-10-15 12:18:20 +03:00
Flux
230184bc37 Add Flux sync manifests 2026-10-15 12:16:21 +03:00
Flux
e7e0dac1ca Add Flux v2.8.5 component manifests 2026-10-15 12:15:36 +03:00
41c7219486 ++ runner off 2026-10-14 17:50:28 +03:00
145afeb702 ++ vk infra vault kb runner 2026-10-14 17:35:05 +03:00
c43ffe5bcc ++ vk infra cert zitadel 2026-10-14 13:42:14 +03:00