terraform-contour-mirror/infrastructure.yaml

2235 lines
53 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

current_environment: yc-k8s-test
## ++++++
environments:
ugmk:
namespaces:
- name: attachments
manage: true
image_pull_secret: true
labels:
project: contour
annotations:
managed-by: terraform
istio-injection: disabled
security.deckhouse.io/pod-policy: privileged
- name: ugmk-test-app
manage: true
image_pull_secret: true
labels:
project: contour
- name: superset
manage: false
image_pull_secret: true
labels:
project: contour
- name: trino
manage: false
image_pull_secret: true
labels:
project: contour
- name: premises
manage: false
image_pull_secret: true
labels:
project: contour
postgresql:
default_host: 10.222.255.162
default_port: 5432
databases:
- cluster_id: main
database:
name: superset
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: superset
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: attachments_db
extensions: []
user:
name: attachments
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: eav_db
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: eav
password_length: 32
password_special: false
conn_limit: 20
permissions:
- eav_db
- cluster_id: main
database:
name: documentations_db
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
- timescaledb
user:
name: documentations
password_length: 32
password_special: false
conn_limit: 100
permissions:
- documentations_db
- cluster_id: main
database:
name: subscriptions_db
extensions:
- uuid-ossp
- pg_stat_statements
- timescaledb
- postgis
user:
name: subscriptions
password_length: 32
password_special: false
conn_limit: 20
permissions:
- subscriptions_db
- cluster_id: main
database:
name: django_db
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: django
password_length: 32
password_special: false
conn_limit: 20
permissions:
- django_db
- cluster_id: main
database:
name: contracts_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: contracts
password_length: 32
password_special: false
conn_limit: 20
permissions:
- contracts_db
- cluster_id: main
database:
name: checklists_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: checklists
password_length: 32
password_special: false
conn_limit: 20
permissions:
- checklists_db
- cluster_id: main
database:
name: rfi_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: rfi
password_length: 32
password_special: false
conn_limit: 20
permissions:
- rfi_db
- cluster_id: main
database:
name: workspaces_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: workspaces
password_length: 32
password_special: false
conn_limit: 20
permissions:
- workspaces_db
- cluster_id: main
database:
name: notes_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: notes
password_length: 32
password_special: false
conn_limit: 20
permissions:
- notes_db
- cluster_id: main
database:
name: ugmk_test_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: ugmk_test_user
password_length: 32
password_special: false
conn_limit: 20
permissions:
- attachments_db
- cluster_id: main
database:
name: system_log_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: system_log
password_length: 32
password_special: false
conn_limit: 20
permissions:
- system_log_db
- cluster_id: main
database:
name: workflow_db
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: workflow
password_length: 32
password_special: false
conn_limit: 20
permissions:
- workflow_db
- cluster_id: main
database:
name: drawings_db
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: drawings
password_length: 32
password_special: false
conn_limit: 20
permissions:
- drawings_db
- cluster_id: main
database:
name: comparisons_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: comparisons
password_length: 32
password_special: false
conn_limit: 20
permissions:
- comparisons_db
- cluster_id: main
database:
name: mapper_db
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: mapper
password_length: 32
password_special: false
conn_limit: 20
permissions:
- mapper_db
- cluster_id: main
database:
name: bim_db
extensions:
- uuid-ossp
- pg_stat_statements
- pg_partman
- ltree
user:
name: bim
password_length: 32
password_special: false
conn_limit: 20
permissions:
- bim_db
- cluster_id: main
database:
name: flows_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: flows
password_length: 32
password_special: false
conn_limit: 20
permissions:
- flows_db
- cluster_id: main
database:
name: inspections_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: inspections
password_length: 32
password_special: false
conn_limit: 20
permissions:
- inspections_db
- cluster_id: main
database:
name: issues_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: issues
password_length: 32
password_special: false
conn_limit: 20
permissions:
- issues_db
- cluster_id: main
database:
name: pm_db
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: pm
password_length: 32
password_special: false
conn_limit: 20
permissions:
- pm_db
- cluster_id: main
database:
name: transmittal_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: transmittal
password_length: 32
password_special: false
conn_limit: 20
permissions:
- transmittal_db
- cluster_id: main
database:
name: bi_db
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: bi
password_length: 32
password_special: false
conn_limit: 20
permissions:
- bi_db
- cluster_id: main
database:
name: premises_db
extensions:
- uuid-ossp
user:
name: premises
password_length: 32
password_special: false
conn_limit: 20
minio: {}
buckets: []
kafka:
create_acls: false
kafka_cluster_refs:
main:
bootstrap_servers: kafka-kafka-contour.kafka.svc.cluster.local:9092
sasl_mechanism: SCRAM-SHA-512
security_protocol: SASL_PLAINTEXT
tls_enabled: false
default_partitions: 3
default_replication_factor: 1
max_replication_factor: 1
topics:
- name: ugmk.test.event.v1
owner: ugmk-test-app
clusterRef: main
partitions: 3
replicationFactor: 1
users:
- name: ugmk-test-app
clusterRef: main
permissions:
- topic: ugmk.test.event.v1
roles:
- PRODUCER
rabbitmq:
management_endpoint: http://rabbitmq.rabbitmq.svc.cluster.local:15672
amqp_host: rabbitmq.rabbitmq.svc.cluster.local
amqp_port: 5672
vhosts:
- name: ugmk-test-vhost
- name: documentations
- name: documentations-hasher
- name: cde
- name: flows
users:
- name: ugmk-test-rmq
password_length: 32
password_special: false
- name: documentations
password_length: 32
password_special: false
- name: documentations-hasher
password_length: 32
password_special: false
- name: cde
password_length: 32
password_special: false
- name: flows
password_length: 32
password_special: false
permissions:
- user: ugmk-test-rmq
vhost: ugmk-test-vhost
configure: ".*"
write: ".*"
read: ".*"
- user: documentations
vhost: documentations
configure: ".*"
write: ".*"
read: ".*"
- user: documentations-hasher
vhost: documentations-hasher
configure: ".*"
write: ".*"
read: ".*"
- user: cde
vhost: cde
configure: ".*"
write: ".*"
read: ".*"
- user: flows
vhost: flows
configure: ".*"
write: ".*"
read: ".*"
queues:
- name: flow
vhost: flows
durable: true
auto_delete: false
arguments:
x-queue-type: classic
- name: ugmk.test.queue
vhost: ugmk-test-vhost
durable: true
auto_delete: false
arguments:
x-queue-type: classic
yc-k8s-test:
namespaces:
- name: test-namespace
manage: true
image_pull_secret: true
- name: test-namespace-2
manage: true
image_pull_secret: true
- name: signoz
manage: false
image_pull_secret: true
# MinIO endpoint (declarative). Exposed externally on this contour; scheme
# decides TLS. Admin creds are injected from Vault (secrets/minio/admin).
minio:
endpoint: https://minio.contour.infra.sarex.tech
# In-cluster MinIO. Bucket + dedicated access user (access_key/secret_key).
buckets:
- name: test-bucket
acl: private
# In-cluster PostgreSQL server (single instance in ns postgresql).
postgresql:
default_host: postgresql.postgresql.svc.cluster.local
default_port: 5432
databases:
- cluster_id: incluster
database:
name: test_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: test_user
password_length: 32
password_special: false
conn_limit: 20
# In-cluster Kafka (Bitnami). clusterRef carries the bootstrap endpoint.
kafka:
kafka_cluster_refs:
contour:
bootstrap_servers: kafka-kafka-contour.kafka.svc.cluster.local:9092
sasl_mechanism: SCRAM-SHA-512
security_protocol: SASL_PLAINTEXT
tls_enabled: false
default_partitions: 3
default_replication_factor: 1
max_replication_factor: 1
topics:
- name: contour.test.event.v1
owner: contour-test
clusterRef: contour
partitions: 3
replicationFactor: 1
users:
- name: contour-test
clusterRef: contour
permissions:
- topic: contour.test.event.v1
roles:
- PRODUCER
# In-cluster RabbitMQ.
rabbitmq:
amqp_host: rabbitmq.rabbitmq.svc.cluster.local
amqp_port: 5672
vhosts:
- name: test-vhost
users:
- name: test-rmq
password_length: 32
password_special: false
permissions:
- user: test-rmq
vhost: test-vhost
configure: ".*"
write: ".*"
read: ".*"
exchanges:
- name: test.exchange
vhost: test-vhost
type: topic
durable: true
wb:
namespaces:
- name: test-namespace
manage: true
image_pull_secret: false
minio:
endpoint: http://10.49.4.130:9000
buckets:
- name: test-bucket
acl: private
postgresql:
default_host: sarex-vpsql-01.xc.wb.ru
default_port: 5432
databases:
- cluster_id: wb
database:
name: test_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: test_user
password_length: 32
password_special: false
conn_limit: 20
rabbitmq:
amqp_host: rabbitmq.rabbitmq.svc.cluster.local
amqp_port: 5672
vhosts:
- name: test-vhost
users:
- name: test-rmq
password_length: 32
password_special: false
permissions:
- user: test-rmq
vhost: test-vhost
configure: ".*"
write: ".*"
read: ".*"
queues:
- name: test-queue
vhost: test-vhost
durable: true
arguments:
x-queue-type: classic
kafka:
create_acls: false
create_users: false
kafka_cluster_refs:
wb:
bootstrap_servers: wb-prod-kafka-bootstrap.kafka.svc.cluster.local:9092
sasl_mechanism: SCRAM-SHA-512
security_protocol: PLAINTEXT
tls_enabled: false
default_partitions: 3
default_replication_factor: 3
max_replication_factor: 3
topics:
- name: wb.test.event.v1
owner: wb-test
clusterRef: wb
partitions: 3
replicationFactor: 3
users: []
brusnika-stage:
namespaces:
# namespace создаёт flux (infrastructure/rabbitmq/base), terraform только
# раскатывает в него regcred - образы чарта тянутся из приватного cr.yandex
- name: rabbitmq
manage: false
image_pull_secret: true
rabbitmq:
amqp_host: rabbitmq.rabbitmq.svc.cluster.local
amqp_port: 5672
vad:
namespaces:
- name: rabbitmq
manage: false
image_pull_secret: true
- name: kafka
manage: false
image_pull_secret: true
- name: camunda
manage: false
image_pull_secret: true
- name: zitadel
manage: false
image_pull_secret: true
- name: postgresql
manage: false
image_pull_secret: true
- name: workspaces
manage: false
image_pull_secret: true
- name: eav
manage: false
image_pull_secret: true
- name: notes
manage: false
image_pull_secret: true
- name: rfi
manage: false
image_pull_secret: true
- name: checklists
manage: false
image_pull_secret: true
- name: contracts
manage: false
image_pull_secret: true
- name: django
manage: false
image_pull_secret: true
- name: documentations
manage: false
image_pull_secret: true
- name: processing
manage: false
image_pull_secret: true
- name: flows
manage: false
image_pull_secret: true
- name: issues
manage: false
image_pull_secret: true
- name: bim
manage: false
image_pull_secret: true
- name: attachments
manage: false
image_pull_secret: false
- name: bi
manage: false
image_pull_secret: false
- name: comparisons
manage: false
image_pull_secret: false
- name: drawings
manage: false
image_pull_secret: false
- name: inspections
manage: false
image_pull_secret: false
- name: mapper
manage: false
image_pull_secret: false
- name: measurements
manage: false
image_pull_secret: false
- name: subscriptions
manage: false
image_pull_secret: false
- name: system-log
manage: false
image_pull_secret: false
- name: transmittal
manage: false
image_pull_secret: false
- name: cross-section
manage: false
image_pull_secret: false
- name: document-link
manage: false
image_pull_secret: false
- name: prescriptions
manage: false
image_pull_secret: false
- name: projects
manage: false
image_pull_secret: false
- name: stamp-verification
manage: false
image_pull_secret: false
- name: faas
manage: false
image_pull_secret: false
- name: iam
manage: false
image_pull_secret: false
- name: pm
manage: false
image_pull_secret: false
- name: message-hub
manage: false
image_pull_secret: false
- name: cde
manage: false
image_pull_secret: false
postgresql:
default_host: 192.168.8.131
default_port: 5432
databases:
- cluster_id: main
database:
name: vad_test_db
extensions: []
user:
name: vad_test
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: identity
extensions: []
user:
name: identity
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: bitnami_keycloak
extensions: []
user:
name: bn_keycloak
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: zitadel
extensions: []
user:
name: zitadel
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: workspaces_db
extensions:
- uuid-ossp
user:
name: workspaces
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: eav
extensions: []
user:
name: eav
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: notes
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: notes
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: rfi
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: rfi
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: checklists
extensions: []
user:
name: checklists
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: contracts_db
extensions: []
user:
name: contracts
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: django
extensions: []
user:
name: django
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: documentations
extensions:
- ltree
- uuid-ossp
- pg_stat_statements
- timescaledb
user:
name: documentations
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: processing
extensions: []
user:
name: processing
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: flows
extensions: []
user:
name: flows
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: issues
extensions: []
user:
name: issues
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: bim
extensions:
- ltree
- uuid-ossp
- pg_stat_statements
user:
name: bim
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: attachments
extensions: []
user:
name: attachments
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: bi
extensions: []
user:
name: bi
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: comparisons
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: comparisons
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: drawings
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: drawings
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: inspections
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: inspections
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: mapper
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: mapper
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: subscriptions
extensions:
- uuid-ossp
- pg_stat_statements
- postgis
user:
name: subscriptions
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: system_log
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: system_log
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: transmittal
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: transmittal
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: pm
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: pm
password_length: 32
password_special: false
conn_limit: 20
minio:
endpoint: http://192.168.8.121:9000
buckets:
- name: eav
acl: private
- name: notes
acl: private
- name: rfi
acl: private
- name: contracts
acl: private
- name: django
acl: private
- name: documentations
acl: private
- name: issues
acl: private
- name: message-hub
acl: private
- name: attachments
acl: private
- name: mapper
acl: private
- name: measurements
acl: private
- name: subscriptions
acl: private
- name: transmittal
acl: private
- name: iam
acl: private
kafka:
create_acls: false
kafka_cluster_refs:
main:
bootstrap_servers: kafka-kafka-contour.kafka.svc.cluster.local:9092
sasl_mechanism: SCRAM-SHA-512
security_protocol: SASL_SSL
tls_enabled: true
default_partitions: 3
default_replication_factor: 1
max_replication_factor: 1
topics:
- name: vad.test.event.v1
owner: vad-test
clusterRef: main
partitions: 3
replicationFactor: 1
users:
- name: vad-test
clusterRef: main
permissions:
- topic: vad.test.event.v1
roles:
- PRODUCER
rabbitmq:
amqp_host: rabbitmq.rabbitmq.svc.cluster.local
amqp_port: 5672
vhosts:
- name: notes
- name: rfi
- name: contracts
- name: django
- name: cde
- name: processing
- name: flows
- name: issues
- name: mapper
- name: transmittal
- name: pm
users:
- name: notes
password_length: 32
- name: rfi
password_length: 32
- name: contracts
password_length: 32
- name: django
password_length: 32
- name: cde
password_length: 32
- name: processing
password_length: 32
- name: mapper
password_length: 32
- name: transmittal
password_length: 32
- name: flows
password_length: 32
- name: issues
password_length: 32
- name: pm
password_length: 32
permissions:
- vhost: notes
user: notes
configure: ".*"
write: ".*"
read: ".*"
- vhost: rfi
user: rfi
configure: ".*"
write: ".*"
read: ".*"
- vhost: contracts
user: contracts
configure: ".*"
write: ".*"
read: ".*"
- vhost: django
user: django
configure: ".*"
write: ".*"
read: ".*"
- vhost: cde
user: cde
configure: ".*"
write: ".*"
read: ".*"
- vhost: processing
user: processing
configure: ".*"
write: ".*"
read: ".*"
- vhost: flows
user: flows
configure: ".*"
write: ".*"
read: ".*"
- vhost: issues
user: issues
configure: ".*"
write: ".*"
read: ".*"
- vhost: mapper
user: mapper
configure: ".*"
write: ".*"
read: ".*"
- vhost: transmittal
user: transmittal
configure: ".*"
write: ".*"
read: ".*"
- vhost: pm
user: pm
configure: ".*"
write: ".*"
read: ".*"
uralkal:
namespaces:
- name: uralkal-test
manage: true
image_pull_secret: false
- name: zitadel
manage: true
image_pull_secret: false
- name: camunda
manage: true
image_pull_secret: false
- name: superset
manage: true
image_pull_secret: false
- name: trino
manage: true
image_pull_secret: false
- name: rabbitmq
manage: false
image_pull_secret: true
- name: kafka
manage: false
image_pull_secret: true
- name: postgresql
manage: false
image_pull_secret: true
- name: workspaces
manage: false
image_pull_secret: true
- name: eav
manage: false
image_pull_secret: true
- name: notes
manage: false
image_pull_secret: true
- name: rfi
manage: false
image_pull_secret: true
- name: checklists
manage: false
image_pull_secret: true
- name: contracts
manage: false
image_pull_secret: true
- name: django
manage: false
image_pull_secret: true
- name: documentations
manage: false
image_pull_secret: true
- name: processing
manage: false
image_pull_secret: true
- name: flows
manage: false
image_pull_secret: true
- name: issues
manage: false
image_pull_secret: true
- name: bim
manage: false
image_pull_secret: true
- name: attachments
manage: false
image_pull_secret: false
- name: bi
manage: false
image_pull_secret: false
- name: comparisons
manage: false
image_pull_secret: false
- name: drawings
manage: false
image_pull_secret: false
- name: inspections
manage: false
image_pull_secret: false
- name: mapper
manage: false
image_pull_secret: false
- name: measurements
manage: false
image_pull_secret: false
- name: subscriptions
manage: false
image_pull_secret: false
- name: system-log
manage: false
image_pull_secret: false
- name: transmittal
manage: false
image_pull_secret: false
- name: cross-section
manage: false
image_pull_secret: false
- name: document-link
manage: false
image_pull_secret: false
- name: prescriptions
manage: false
image_pull_secret: false
- name: projects
manage: false
image_pull_secret: false
- name: stamp-verification
manage: false
image_pull_secret: false
- name: faas
manage: false
image_pull_secret: false
- name: iam
manage: false
image_pull_secret: false
- name: pm
manage: false
image_pull_secret: false
- name: message-hub
manage: false
image_pull_secret: false
- name: cde
manage: false
image_pull_secret: false
- name: reviews
manage: false
image_pull_secret: false
- name: remarks
manage: false
image_pull_secret: false
- name: auth-flow
manage: false
image_pull_secret: false
- name: control-interface
manage: false
image_pull_secret: false
- 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
databases:
- cluster_id: main
database:
name: uralkal_test_db
extensions: []
user:
name: uralkal_test
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: superset
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: superset
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: trino
extensions: []
user:
name: trino
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: identity
extensions: []
user:
name: identity
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: bitnami_keycloak
extensions: []
user:
name: bn_keycloak
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: workspaces
extensions:
- uuid-ossp
user:
name: workspaces
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: eav
extensions: []
user:
name: eav
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: notes_db
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: notes
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: rfi
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: rfi
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: checklists
extensions: []
user:
name: checklists
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: contracts_db
extensions: []
user:
name: contracts
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: sarex_db
extensions: []
user:
name: django
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: documentations_db
extensions:
- ltree
- uuid-ossp
- pg_stat_statements
- timescaledb
user:
name: documentations
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: processing
extensions: []
user:
name: processing
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: flow_db
extensions: []
user:
name: flows
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: issues
extensions: []
user:
name: issues
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: bim
extensions:
- ltree
- uuid-ossp
- pg_stat_statements
user:
name: bim
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: attachments
extensions: []
user:
name: attachments
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: bi
extensions: []
user:
name: bi
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: comparisons
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: comparisons
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: drawings
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: drawings
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: inspections
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: inspections
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: mapper
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: mapper
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: subscriptions
extensions:
- uuid-ossp
- pg_stat_statements
- postgis
user:
name: subscriptions
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: system_log
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: system_log
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: transmittal
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: transmittal
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: pm_db
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: pm
password_length: 32
password_special: false
conn_limit: 20
minio:
endpoint: http://10.133.0.245:9000
buckets:
- name: uralkal-test
acl: private
- name: eav
acl: private
- name: notes
acl: private
- name: rfi
acl: private
- name: contracts
acl: private
- name: django
acl: private
- name: documentations
acl: private
- name: issues
acl: private
- name: message-hub
acl: private
- name: attachments
acl: private
- name: mapper
acl: private
- name: measurements
acl: private
- name: subscriptions
acl: private
- name: transmittal
acl: private
- name: iam
acl: private
- name: security-audit
acl: private
versioning:
enabled: false
lifecycle_rules:
- id: archive-k8s-audit
prefix: uralkal/security.k8s-audit/
expiration_days: 30
- id: archive-mesh-access
prefix: uralkal/security.mesh-access/
expiration_days: 30
- id: archive-idp-events
# Реальный layout ключей processor'а: <kind>/contour=<c>/dt=.../hour=...
prefix: idp-events/
expiration_days: 30
- id: archive-vault-audit
# Реальный layout ключей processor'а: <kind>/contour=<c>/dt=.../hour=...
prefix: vault-audit/
expiration_days: 30
# Трейсы otel-collector (Kafka → audit-processor → Parquet): реальный layout ключей
# у processor'а — <kind>/contour=<c>/dt=.../hour=..., поэтому префикс traces/, а не
# uralkal/... (существующие правила uralkal/security.* ни с чем не совпадают — см. PR).
- id: expire-traces
prefix: traces/
expiration_days: 30
kafka:
create_acls: false
kafka_cluster_refs:
main:
bootstrap_servers: kafka-kafka-contour.kafka.svc.cluster.local:9092
sasl_mechanism: SCRAM-SHA-512
security_protocol: SASL_SSL
tls_enabled: true
default_partitions: 3
default_replication_factor: 1
max_replication_factor: 1
topics:
- name: uralkal.test.event.v1
owner: uralkal-test
clusterRef: main
partitions: 3
replicationFactor: 1
- name: issues_broadcast_prod
owner: proc
clusterRef: main
partitions: 3
replicationFactor: 1
- name: assets_broadcast
owner: proc
clusterRef: main
partitions: 3
replicationFactor: 1
- name: message-hub-prod
owner: pm
clusterRef: main
partitions: 3
replicationFactor: 1
- name: iam.resource.updated.v2
owner: pm
clusterRef: main
partitions: 3
replicationFactor: 1
- name: iam.resource.deleted.v2
owner: pm
clusterRef: main
partitions: 3
replicationFactor: 1
- name: security.k8s-audit
owner: security-audit
clusterRef: main
partitions: 1
replicationFactor: 1
config:
retention.ms: "259200000"
max.message.bytes: "5242880"
- name: security.mesh-access
owner: security-audit
clusterRef: main
partitions: 3
replicationFactor: 1
config:
retention.ms: "259200000"
max.message.bytes: "1048576"
- name: security.idp-events
owner: security-audit
clusterRef: main
partitions: 3
replicationFactor: 1
config:
retention.ms: "259200000"
max.message.bytes: "1048576"
- name: security.vault-audit
owner: security-audit
clusterRef: main
partitions: 3
replicationFactor: 1
config:
retention.ms: "259200000"
max.message.bytes: "1048576"
# Трейсы otel-collector → audit-processor (kind traces). Сообщения — OTLP-батчи
# (ExportTraceServiceRequest, proto), поэтому max.message.bytes как у k8s-audit.
- name: telemetry.traces
owner: security-audit
clusterRef: main
partitions: 3
replicationFactor: 1
config:
retention.ms: "259200000"
max.message.bytes: "5242880"
users:
- name: uralkal-test
clusterRef: main
permissions:
- topic: uralkal.test.event.v1
roles:
- PRODUCER
# proc - общий пользователь issues и flows (как в vad)
- name: proc
clusterRef: main
# pm - общий пользователь pm и message-hub
- name: pm
clusterRef: main
permissions:
- topic: assets_broadcast
roles:
- ACCESS_ROLE_CONSUMER
- topic: issues_broadcast_prod
roles:
- ACCESS_ROLE_CONSUMER
rabbitmq:
amqp_host: rabbitmq.rabbitmq.svc.cluster.local
amqp_port: 5672
vhosts:
- name: uralkal-test
- name: notes
- name: rfi
- name: contracts
- name: django
- name: cde
- name: processing
- name: flows
- name: issues
- name: mapper
- name: transmittal
- name: pm
users:
- name: uralkal-test
password_length: 32
- name: notes
password_length: 32
- name: rfi
password_length: 32
- name: contracts
password_length: 32
- name: django
password_length: 32
- name: cde
password_length: 32
- name: processing
password_length: 32
- name: flows
password_length: 32
- name: issues
password_length: 32
- name: mapper
password_length: 32
- name: transmittal
password_length: 32
- name: pm
password_length: 32
permissions:
- vhost: uralkal-test
user: uralkal-test
configure: ".*"
write: ".*"
read: ".*"
- vhost: notes
user: notes
configure: ".*"
write: ".*"
read: ".*"
- vhost: rfi
user: rfi
configure: ".*"
write: ".*"
read: ".*"
- vhost: contracts
user: contracts
configure: ".*"
write: ".*"
read: ".*"
- vhost: django
user: django
configure: ".*"
write: ".*"
read: ".*"
- vhost: cde
user: cde
configure: ".*"
write: ".*"
read: ".*"
- vhost: processing
user: processing
configure: ".*"
write: ".*"
read: ".*"
- vhost: flows
user: flows
configure: ".*"
write: ".*"
read: ".*"
- vhost: issues
user: issues
configure: ".*"
write: ".*"
read: ".*"
- vhost: mapper
user: mapper
configure: ".*"
write: ".*"
read: ".*"
- vhost: transmittal
user: transmittal
configure: ".*"
write: ".*"
read: ".*"
- vhost: pm
user: pm
configure: ".*"
write: ".*"
read: ".*"
queues:
- name: uralkal-test-queue
vhost: uralkal-test
durable: true
arguments:
x-queue-type: classic
sarex-contour:
postgresql:
default_host: 111.88.255.180
default_port: 5432
databases:
- cluster_id: main
database:
name: zitadel
extensions: []
user:
name: zitadel
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: workspaces_db
extensions:
- uuid-ossp
user:
name: workspaces
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: django
extensions: []
user:
name: django
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: eav
extensions: []
user:
name: eav
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: bi
extensions: []
user:
name: bi
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: flows
extensions: []
user:
name: flows
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: issues
extensions: []
user:
name: issues
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: checklists
extensions: []
user:
name: checklists
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: contracts_db
extensions: []
user:
name: contracts
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: documentations
extensions:
- ltree
- uuid-ossp
- pg_stat_statements
- timescaledb
user:
name: documentations
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: attachments
extensions: []
user:
name: attachments
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: bim
extensions:
- ltree
- uuid-ossp
- pg_stat_statements
user:
name: bim
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: comparisons
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: comparisons
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: drawings
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: drawings
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: inspections
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: inspections
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: mapper
extensions:
- uuid-ossp
- pg_stat_statements
- ltree
user:
name: mapper
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: notes
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: notes
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: rfi
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: rfi
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: subscriptions
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: subscriptions
password_length: 32
password_special: false
conn_limit: 20
- cluster_id: main
database:
name: system_log
extensions:
- uuid-ossp
- pg_stat_statements
user:
name: system_log
password_length: 32
password_special: false
conn_limit: 20
minio:
endpoint: http://111.88.252.72:9000
buckets:
- name: django
acl: private
- name: eav
acl: private
- name: issues
acl: private
- name: contracts
acl: private
- name: attachments
acl: private
- name: mapper
acl: private
- name: measurements
acl: private
- name: notes
acl: private
- name: rfi
acl: private
- name: subscriptions
acl: private
- name: documentations
acl: private