Commit Graph

478 Commits

Author SHA1 Message Date
ivan
99fa5864b7 stand: волна 1 — базы и секреты Vault для drawings, bi, checklists, comparisons 2026-11-09 15:03:17 +05:00
ivan
d934c7a3a1 stand: константы postgres_port 5432 и s3_endpoint MinIO стенда; генерация rsa_keys 2026-11-09 14:39:53 +05:00
ivan
cb9e82b2ff stand: django — база, бакет и vhost, секреты в Vault по путям base, роль django, rsa_keys 2026-11-09 14:31:43 +05:00
ivan
acb4bcff25 stand: bim — база bim, секрет Vault apps/bim/postgres, роль bim 2026-11-09 14:06:34 +05:00
emelinda
62024d76b7 uralkal: security-audit-zitadel secret with zitadel PAT for idp-actions-bootstrap
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m17s
Terraform Terragrunt (contour) / plan (push) Successful in 1m21s
Terraform Terragrunt (contour) / apply (push) Successful in 1m19s
2026-11-09 02:44:28 +03:00
emelinda
3028468977 uralkal: fix archive-idp-events ILM prefix to idp-events/ (actual processor key layout) 2026-11-09 00:50:32 +03:00
emelinda
ce8c3a80e2 fix 2026-11-08 23:54:58 +03:00
emelinda
72179f10b4 fix
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m17s
Terraform Terragrunt (contour) / plan (push) Successful in 1m15s
Terraform Terragrunt (contour) / apply (push) Successful in 1m17s
2026-11-08 20:56:42 +03:00
emelinda
653e26473f uralkal: telemetry.traces topic (3 partitions, 3d retention), expire-traces lifecycle rule on traces/ prefix in security-audit bucket 2026-11-08 18:56:29 +03:00
emelinda
be774f1ea0 uralkal: otel-collector secrets in opentelemetry-collector ns (security-audit MinIO/Kafka credentials), regcred fan-out, expire-traces lifecycle rule 2026-11-08 18:22:56 +03:00
ivan
85214f09a8 uralkal: vault — роль django читает camunda/keycloak-admin для CronJob синхронизации Keycloak
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m19s
Terraform Terragrunt (contour) / plan (push) Successful in 1m17s
Terraform Terragrunt (contour) / apply (push) Successful in 1m22s
2026-11-05 14:37:06 +05:00
ivan
a4205a6ac1 uralkal: Secret security-audit-minio с кредами бакета security-audit в ns security-audit 2026-11-05 11:00:40 +05:00
ivan
bfa92d3fd5 uralkal: ns security-audit, топики security.{k8s-audit,mesh-access,idp-events,vault-audit} (retention 3 суток), пользователь security-audit и Secret security-audit-kafka 2026-11-05 10:49:00 +05:00
ivan
faafcd2df1 uralkal: бакет security-audit с lifecycle (удаление через 30 дней по префиксам uralkal/security.*), ключи в Vault minio/apps/security-audit; minio-buckets: lifecycle_rules через minio_ilm_policy 2026-11-05 10:41:56 +05:00
ivan
1b942fea6b uralkal: kafka — pm читает assets_broadcast и issues_broadcast_prod
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m34s
Terraform Terragrunt (contour) / plan (push) Successful in 1m30s
Terraform Terragrunt (contour) / apply (push) Successful in 1m23s
message-hub под пользователем pm читает оба топика proc. Права описаны
ролью ACCESS_ROLE_CONSUMER; создаются как ACL при create_acls: true.
2026-11-02 14:37:49 +05:00
da0913ffe2 ++ stand identity component secrets 2026-10-30 11:51:45 +03:00
afe61a5944 ++ stand kafka plaintext and plan mode
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m9s
Terraform Terragrunt (contour) / plan (push) Successful in 1m15s
Terraform Terragrunt (contour) / apply (push) Successful in 1m9s
2026-10-28 15:47:31 +03:00
869674a9cd ++ stand camunda vault secrets 2026-10-28 15:18:24 +03:00
5c943eed01 ++ stand postgresql cluster label 2026-10-28 11:11:56 +03:00
53cd0bca8e ++ stand test queue type 2026-10-28 11:09:27 +03:00
e572069fab ++ stand kafka without acls 2026-10-28 11:07:28 +03:00
ae20e05deb ++ stand no rabbitmq adoption 2026-10-28 11:05:27 +03:00
f2485e1f14 ++ stand minio endpoint and rabbitmq admin env 2026-10-28 11:01:40 +03:00
2f0f2e37c8 ++ stand test entities 2026-10-28 10:56:22 +03:00
a1d2db6bd7 ++ stand camunda databases 2026-10-28 10:51:02 +03:00
4f9d236f91 ++ stand postgresql-zitadel vault role 2026-10-28 10:36:17 +03:00
93b5272247 ++ terraform slice jobs
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 2m5s
Terraform Terragrunt (contour) / plan (push) Successful in 1m32s
Terraform Terragrunt (contour) / apply (push) Successful in 1m13s
2026-10-27 23:12:09 +03:00
49437054e6 ++ stand contract env 2026-10-27 23:10:33 +03:00
183240224f ++ documentations conn limit
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m13s
Terraform Terragrunt (contour) / plan (push) Successful in 1m10s
Terraform Terragrunt (contour) / apply (push) Successful in 1m2s
2026-10-27 10:35:05 +03:00
ivan
b7e1f68bfc uralkal: rename cross_sections_api_db_prod.json -> cross-section-api-db-prod.json
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m21s
Terraform Terragrunt (contour) / plan (push) Successful in 1m43s
Terraform Terragrunt (contour) / apply (push) Successful in 1m12s
2026-10-26 13:38:27 +05:00
ivan
9481653f55 uralkal: add cross_sections_api_db_prod.json to processing extras 2026-10-26 13:22:44 +05:00
ivan
1135ea637d uralkal: issues S3 -> MinIO directly with the root account
minio/apps/issues now holds minioadmin and http://10.133.0.245:9000 instead
of tfstate via s3-proxy, same as documentations and attachments.
2026-10-26 12:48:10 +05:00
ivan
c0c85072c9 ugmk: base64-encode processing-rabbitmq data
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 2m6s
Terraform Terragrunt (contour) / plan (push) Successful in 2m5s
Terraform Terragrunt (contour) / apply (push) Successful in 1m35s
secrets[].data must be base64 (like k8s .data); b081c18 stored the username
and password as plain text, so the secrets stack failed in plan with
'failed to decode base64 data' / 'not valid UTF-8'. Same values, encoded.
2026-10-23 16:27:30 +05:00
ivan
856ab546bc ugmk: provision premises
Namespace entry (regcred only, flux creates the namespace), database
premises_db with uuid-ossp, postgres creds in apps/premises/postgres, kafka
creds reusing the flows user (as premises shares proc with flows in vad),
S3 on s3.uralmine.com with the static key documentations already uses,
bucket premises, and the premises vault role bound to premises-vault.
2026-10-23 16:06:11 +05:00
ivan
fa8c6ddecf uralkal: attachments S3 -> MinIO directly with the root account
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m9s
Terraform Terragrunt (contour) / plan (push) Successful in 1m6s
Terraform Terragrunt (contour) / apply (push) Successful in 1m6s
Same host and account as documentations: minio/apps/attachments now holds
minioadmin and http://10.133.0.245:9000 instead of tfstate via s3-proxy.
Bucket stays attachments.
2026-10-22 12:39:44 +05:00
ivan
0d651e9d33 uralkal: comparisons-db-prod.json use_ssl false 2026-10-22 11:47:25 +05:00
ivan
6d17baf077 uralkal: add comparisons-db-prod.json for processing
workflows-engine injects it from vault/common/django_auth for jobs using the
comparison-api-db service (pkg/kube_services/services.go). Connection to the
comparisons database on 10.133.0.249:5432.
2026-10-22 11:24:56 +05:00
ivan
85a1b794fb uralkal: hasher and pdf-markings-amqp read S3 straight from MinIO
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m43s
Terraform Terragrunt (contour) / plan (push) Successful in 1m27s
Terraform Terragrunt (contour) / apply (push) Successful in 1m28s
minio/apps/documentations is read only by documentations-hasher and
documentations-pdf-markings-amqp. Point it at 10.133.0.245:9000 with the
MinIO root account, same as documentations-api and processing already use,
instead of tfstate via s3-proxy (pdf-markings got 503 on HeadObject).
2026-10-21 17:56:05 +05:00
ivan
7eab826e99 uralkal: restore cde-env (vault/apps/cde)
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 58s
Terraform Terragrunt (contour) / plan (push) Successful in 1m2s
Terraform Terragrunt (contour) / apply (push) Successful in 1m3s
All 13 cde deployments read their whole environment from vault/apps/cde and
were stuck in Init since the entry was dropped in 1faf404. Same shape as vad,
with uralkal values: documentations_db on 10.133.0.249, MinIO root on
10.133.0.245:9000. PUBLIC_KEY is referenced from vault/common/rsa_keys because
the contour has its own generated key; AMQP_* stay referenced from
rabbitmq/apps/cde.
2026-10-08 14:12:25 +05:00
ivan
2751fbf457 uralkal: fix bim password in bim-api-v2-db-prod.json
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m20s
Terraform Terragrunt (contour) / plan (push) Successful in 1m22s
Terraform Terragrunt (contour) / apply (push) Successful in 1m13s
The value was retyped from a screen with O in place of 0; replaced with the
value taken as a hex dump from Vault.
2026-10-07 16:14:19 +05:00
ivan
81fb85cbf6 uralkal: fix documentations password in pdm-api-db-prod.json
The value was retyped from a screen and had 1/l swapped in two places;
processing jobs failed with 'password authentication failed for user
documentations'. Replaced with the value taken as a hex dump from Vault.
2026-10-07 16:13:13 +05:00
ivan
51333be3a3 uralkal: add bim-api-v2-db-prod.json for processing
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m10s
Terraform Terragrunt (contour) / plan (push) Successful in 1m16s
Terraform Terragrunt (contour) / apply (push) Successful in 1m14s
Same shape as vad: connection to database bim as user bim on
10.133.0.249:5432, read by processing from vault/common/django_auth.
2026-10-07 14:56:52 +05:00
ivan
b1b0c2cb70 uralkal: add pdm-api-db-prod.json for processing
Same shape as vad: connection to documentations_db as user documentations on
10.133.0.249:5432, read by processing from vault/common/django_auth.
2026-10-07 14:51:08 +05:00
ivan
9a31b1ee28 uralkal: S3 JSON for documentations and processing -> MinIO root at 10.133.0.245:9000
documentations_s3_service_account_json switches from the tfstate account via
s3-proxy to minioadmin on the MinIO host directly. yc-s3-service-account.json
(read by processing, present in vad and ugmk) is added with the same values;
uralkal did not have it.
2026-10-07 14:41:04 +05:00
ivan
5d8ac86460 uralkal: deliver kafka creds for issues, flows and pm from kafka-topics
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m16s
Terraform Terragrunt (contour) / plan (push) Successful in 1m19s
Terraform Terragrunt (contour) / apply (push) Successful in 1m19s
Step 2 of 2 - push only after the pipeline for the previous commit has
applied. secrets[] writes kafka/apps/issues and kafka/apps/flows (user proc)
and kafka/apps/pm (user pm) from the kafka-topics outputs, so the password
in Vault is the one actually set in the broker. Fields are flat
(username, password, sasl_mechanism, ...), there is no nested auth map.
2026-10-06 22:38:02 +05:00
ivan
70e2687459 uralkal: kafka users proc and pm, application topics; stop writing stale kafka creds
Step 1 of 2. kafka-topics creates SCRAM users proc (issues, flows) and pm
(pm, message-hub) and topics issues_broadcast_prod, assets_broadcast,
message-hub-prod, iam.resource.updated.v2, iam.resource.deleted.v2.

vault-secrets stops writing kafka/apps/{issues,flows,pm}: those held a
generated password for users that were never created in the broker. Step 2
re-creates the same paths from the kafka-topics outputs via secrets[]; it is
a separate commit because vault-secrets runs after secrets and its destroy
would soft-delete the version secrets has just written.
2026-10-06 22:37:35 +05:00
ivan
f4994d8710 uralkal: add documentations_zitadel_account_json to django_auth
Same key and shape as vad/ugmk/sarex-contour (Zitadel application key JSON);
documentations api and filestream render it from vault/common/django_auth.
2026-10-06 16:04:49 +05:00
ivan
50d248185b uralkal: rotate django_zitadel_access_token
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m9s
Terraform Terragrunt (contour) / plan (push) Successful in 1m13s
Terraform Terragrunt (contour) / apply (push) Successful in 1m12s
2026-10-06 14:08:45 +05:00
ivan
5a7d03456c uralkal: add django_zitadel_access_token to django_auth
iam-backend crash-looped on '/vault/secrets/iam-zitadel: syntax error:
unexpected end of file': the key was missing from vault/common/django_auth,
so the agent template rendered ZITADEL_ACCESS_TOKEN=<no value> and the
entrypoint failed sourcing it.
2026-10-06 12:51:59 +05:00
9e18c1eae2 ++ retrigger pipeline
All checks were successful
Terraform Terragrunt (contour) / validate (push) Successful in 1m15s
Terraform Terragrunt (contour) / plan (push) Successful in 1m13s
Terraform Terragrunt (contour) / apply (push) Successful in 1m17s
2026-10-05 16:37:15 +03:00