diff --git a/infrastructure-secrets.yaml b/infrastructure-secrets.yaml index 5320a5c..c3fb31b 100644 --- a/infrastructure-secrets.yaml +++ b/infrastructure-secrets.yaml @@ -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 diff --git a/infrastructure.yaml b/infrastructure.yaml index 2384467..93814f4 100644 --- a/infrastructure.yaml +++ b/infrastructure.yaml @@ -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