Commit Graph

640 Commits

Author SHA1 Message Date
4dc99af141 ++ enable nn-dev kafka and configurable helm source type 2026-12-02 16:37:24 +03:00
ivan
78a123b55b wb: manage existing IAM with Flux and initialize SpiceDB schema 2026-12-01 00:09:17 +05:00
ivan
9ce09df7b1 uralkal: enable service logs and validate Collector/Vector configs 2026-11-30 15:32:48 +05:00
emelinda
018414a676 Add service log collection for Uralkal using OTel agents and an OTLP pipeline to Vector, with Parquet/Zstd output to MinIO, Kubernetes metadata, credential masking, pod-local disk buffers, network policies, and metrics scraping. Document Terraform-managed MinIO and Vault provisioning with 14-day retention, and remove standalone bootstrap scripts and test artifacts. 2026-11-29 22:27:48 +04:00
ivan
a12566f5a8 wb: deploy SpiceDB with external PostgreSQL datastore 2026-11-27 16:58:17 +05:00
ivan
cfb61e1c9d wb: add premises and CDE API workers with routes 2026-11-27 15:38:58 +05:00
ee836c60f4 ++ proctmp ephemeral storage 2026-11-26 17:43:23 +03:00
ivan
c89aaab9eb Remove retired sarex-contour and yc-k8s-test configurations 2026-11-25 13:47:45 +05:00
0aafb8a1ea ++ uralkal vmstack 2026-11-25 11:42:33 +03:00
ivan
46b396c284 stand: deploy single-node ClickHouse with persistent storage 2026-11-25 12:46:25 +05:00
1f4a4836c1 ++ nn-dev contour 2026-11-23 21:30:50 +03:00
ivan
5fad7d54e8 stand: enable Django ams-sync events with Vault-backed Kafka credentials 2026-11-23 16:58:22 +05:00
ivan
62a1b2746e stand: deploy ams-sync with Vault credentials and Kafka health checks 2026-11-23 16:54:14 +05:00
ivan
a7be87135c stand: add stage frontend/export services and align IAM integrations 2026-11-23 15:36:44 +05:00
ivan
98dbc31121 stand: deploy persistent SpiceDB using Terraform-managed Vault credentials 2026-11-23 15:28:31 +05:00
ivan
1cc9a3738e stand: align shell-compatible application images with brusnika-stage 2026-11-23 13:35:13 +05:00
ivan
26436489d4 stand: correct proxy resource annotation indentation 2026-11-23 13:25:36 +05:00
ivan
c95a0a5025 stand: preserve Istio memory requests and limits with CPU override 2026-11-23 13:25:08 +05:00
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