mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-12-03 16:21:35 +03:00
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:
parent
85214f09a8
commit
be774f1ea0
@ -6177,6 +6177,20 @@ environments:
|
|||||||
type: s3
|
type: s3
|
||||||
depends_on:
|
depends_on:
|
||||||
bucket: security-audit
|
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:
|
sops:
|
||||||
age:
|
age:
|
||||||
- recipient: age1ztyyem7qy3fn7vjprnadhsv2txds8a63pr76uut264qwnwxv8v9qwpkagt
|
- recipient: age1ztyyem7qy3fn7vjprnadhsv2txds8a63pr76uut264qwnwxv8v9qwpkagt
|
||||||
|
|||||||
@ -1375,6 +1375,11 @@ environments:
|
|||||||
- name: security-audit
|
- name: security-audit
|
||||||
manage: true
|
manage: true
|
||||||
image_pull_secret: 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:
|
postgresql:
|
||||||
default_host: 10.133.0.249
|
default_host: 10.133.0.249
|
||||||
default_port: 5432
|
default_port: 5432
|
||||||
@ -1735,6 +1740,10 @@ environments:
|
|||||||
- id: archive-vault-audit
|
- id: archive-vault-audit
|
||||||
prefix: uralkal/security.vault-audit/
|
prefix: uralkal/security.vault-audit/
|
||||||
expiration_days: 30
|
expiration_days: 30
|
||||||
|
# Трейсы otel-collector (awss3 exporter) — в этот же бакет, префикс uralkal/traces/.
|
||||||
|
- id: expire-traces
|
||||||
|
prefix: uralkal/traces/
|
||||||
|
expiration_days: 30
|
||||||
|
|
||||||
kafka:
|
kafka:
|
||||||
create_acls: false
|
create_acls: false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user