uralkal: otel-collector secrets in opentelemetry-collector ns (security-audit MinIO/Kafka credentials), regcred fan-out, expire-traces lifecycle rule

This commit is contained in:
emelinda 2026-11-08 18:22:56 +03:00
parent 85214f09a8
commit be774f1ea0
2 changed files with 23 additions and 0 deletions

View File

@ -6177,6 +6177,20 @@ environments:
type: s3
depends_on:
bucket: security-audit
# Креды те же, что у security-audit-minio (per-bucket пользователь бакета security-audit),
# раскатываются отдельным Secret'ом в ns opentelemetry-collector.
- name: otel-collector-minio
namespace: opentelemetry-collector
type: s3
depends_on:
bucket: security-audit
# Те же креды, что у security-audit-kafka (SCRAM-пользователь security-audit).
- name: otel-collector-kafka
namespace: opentelemetry-collector
type: kafka
depends_on:
kafka_ref: main
kafka_user: security-audit
sops:
age:
- recipient: age1ztyyem7qy3fn7vjprnadhsv2txds8a63pr76uut264qwnwxv8v9qwpkagt

View File

@ -1375,6 +1375,11 @@ environments:
- name: security-audit
manage: true
image_pull_secret: true
# Namespace создаёт Flux (infrastructure/opentelemetry-collector/base в infra/iac),
# здесь — только фан-аут regcred. Порядок: сначала раскатать iac, потом terragrunt apply.
- name: opentelemetry-collector
manage: false
image_pull_secret: true
postgresql:
default_host: 10.133.0.249
default_port: 5432
@ -1735,6 +1740,10 @@ environments:
- id: archive-vault-audit
prefix: uralkal/security.vault-audit/
expiration_days: 30
# Трейсы otel-collector (awss3 exporter) — в этот же бакет, префикс uralkal/traces/.
- id: expire-traces
prefix: uralkal/traces/
expiration_days: 30
kafka:
create_acls: false