Commit Graph

610 Commits

Author SHA1 Message Date
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
ivan
9a373f670c brusnika-stage: manage orchestrator and documentations hasher/pdf-markings-amqp in git
Manifests exported from the live cluster with server-side and Helm/Lens
metadata stripped; selectors and pod labels kept as they are so Flux takes
the objects over without restarting pods.

orchestrator: cde API, its Service and ServiceAccount, the v1 workers
installed by the old helm release cde and the v2 workers rolled out today.
documentations: hasher and pdf-markings-amqp. Secrets (cde-secret,
hasher-*, postgres-secret, rabbitmq, yc-s3, dockerhub, regcred) stay in the
cluster only. The old apps/cde/brusnika-stage overlay (namespace contracts,
HelmRelease cde) was never wired; its kustomization now lists only these
manifests.
2026-10-14 15:27:23 +05:00
ivan
e4d145ec95 ++ 2026-10-14 14:49:18 +05:00
ivan
e85bf3800e premises: add app (base + vad) and route /premises/api/ in vad
New service on universal-chart with Vault Agent: role premises, SA
premises-vault, creds for its own postgres, kafka and S3 plus the five
neighbour databases the sync script reads. The vad overlay mounts the Kafka CA
and drops the prod-sized resource requests; istio-config routes
sarex.vadroad.ru/premises/api/ to backend-svc.premises.
2026-10-14 14:48:51 +05:00
6ba8444272 ++ flux zone antiaffinity 2026-10-14 12:03:29 +03:00
601ac84079 ++ flux ha patches 2026-10-14 11:59:51 +03:00
Flux
5fdf3c1e32 Add Flux sync manifests 2026-10-14 11:51:24 +03:00
ab0a052db2 ++ drop flux patches 2026-10-14 11:19:11 +03:00
Flux
5fb9d9731e Add Flux v2.8.5 component manifests 2026-10-14 11:18:23 +03:00
831aa2ad28 ++ vk infra istio 1.30.5 2026-10-14 10:49:58 +03:00
6ef56742d7 ++ vk infra istio 2026-10-14 10:36:18 +03:00
emelinda
445336e721 Add TLS and routes for MinIO Console in brusnika-prod Istio configuration 2026-10-05 21:21:30 +03:00
emelinda
5e40cbd08b Restructure brusnika-prod infrastructure by splitting component configurations into dedicated directories and adding respective kustomizations. 2026-10-05 19:02:52 +03:00