stand: bim — база bim, секрет Vault apps/bim/postgres, роль bim

This commit is contained in:
ivan 2026-11-09 14:06:34 +05:00
parent 62024d76b7
commit acb4bcff25
3 changed files with 34 additions and 0 deletions

View File

@ -11,3 +11,9 @@ namespaces:
secret_prefix: service secret_prefix: service
services: services:
- stand-test - stand-test
bim:
owner: bim
manage: false
secret_prefix: service
services:
- bim

View File

@ -46,6 +46,15 @@ environments:
- camunda/keycloak-admin - camunda/keycloak-admin
- camunda/identity-components - camunda/identity-components
- camunda/identity-firstuser - camunda/identity-firstuser
bim:
enabled: true
service_account_names:
- bim-vault
service_account_namespaces:
- bim
token_ttl: 24h
read_paths:
- apps/bim/postgres
data: data:
infrastructure: infrastructure:
postgresql: postgresql:
@ -114,3 +123,15 @@ environments:
targets: targets:
- kind: vault - kind: vault
path: camunda/keycloak-db path: camunda/keycloak-db
- id: bim-db
schema: postgresql.v1
namespace: bim
source:
kind: postgresql_user
ref:
cluster: stand
database: bim
user: bim
targets:
- kind: vault
path: apps/bim/postgres

View File

@ -0,0 +1,7 @@
service: bim
owner: bim
needs:
postgresql:
database: bim
user: bim