mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-12-03 16:11:36 +03:00
stand: волна 1 — базы и секреты Vault для drawings, bi, checklists, comparisons
This commit is contained in:
parent
d934c7a3a1
commit
99fa5864b7
@ -23,3 +23,27 @@ namespaces:
|
||||
secret_prefix: service
|
||||
services:
|
||||
- django
|
||||
drawings:
|
||||
owner: drawings
|
||||
manage: false
|
||||
secret_prefix: service
|
||||
services:
|
||||
- drawings
|
||||
bi:
|
||||
owner: bi
|
||||
manage: false
|
||||
secret_prefix: service
|
||||
services:
|
||||
- bi
|
||||
checklists:
|
||||
owner: checklists
|
||||
manage: false
|
||||
secret_prefix: service
|
||||
services:
|
||||
- checklists
|
||||
comparisons:
|
||||
owner: comparisons
|
||||
manage: false
|
||||
secret_prefix: service
|
||||
services:
|
||||
- comparisons
|
||||
|
||||
@ -68,6 +68,44 @@ environments:
|
||||
- minio/apps/django
|
||||
- vault/common/rsa_keys
|
||||
- zitadel/setup
|
||||
drawings:
|
||||
enabled: true
|
||||
service_account_names:
|
||||
- drawings-vault
|
||||
service_account_namespaces:
|
||||
- drawings
|
||||
token_ttl: 24h
|
||||
read_paths:
|
||||
- apps/drawings/postgres
|
||||
bi:
|
||||
enabled: true
|
||||
service_account_names:
|
||||
- bi-vault
|
||||
service_account_namespaces:
|
||||
- bi
|
||||
token_ttl: 24h
|
||||
read_paths:
|
||||
- apps/bi/postgres
|
||||
checklists:
|
||||
enabled: true
|
||||
service_account_names:
|
||||
- checklists-vault
|
||||
service_account_namespaces:
|
||||
- checklists
|
||||
token_ttl: 24h
|
||||
read_paths:
|
||||
- apps/checklists/postgres
|
||||
- vault/common/rsa_keys
|
||||
comparisons:
|
||||
enabled: true
|
||||
service_account_names:
|
||||
- comparisons-vault
|
||||
service_account_namespaces:
|
||||
- comparisons
|
||||
token_ttl: 24h
|
||||
read_paths:
|
||||
- apps/comparisons/postgres
|
||||
- vault/common/rsa_keys
|
||||
data:
|
||||
common:
|
||||
rsa_keys:
|
||||
@ -185,3 +223,51 @@ environments:
|
||||
targets:
|
||||
- kind: vault
|
||||
path: minio/apps/django
|
||||
- id: drawings-db
|
||||
schema: postgresql.v1
|
||||
namespace: drawings
|
||||
source:
|
||||
kind: postgresql_user
|
||||
ref:
|
||||
cluster: stand
|
||||
database: drawings
|
||||
user: drawings
|
||||
targets:
|
||||
- kind: vault
|
||||
path: apps/drawings/postgres
|
||||
- id: bi-db
|
||||
schema: postgresql.v1
|
||||
namespace: bi
|
||||
source:
|
||||
kind: postgresql_user
|
||||
ref:
|
||||
cluster: stand
|
||||
database: bi
|
||||
user: bi
|
||||
targets:
|
||||
- kind: vault
|
||||
path: apps/bi/postgres
|
||||
- id: checklists-db
|
||||
schema: postgresql.v1
|
||||
namespace: checklists
|
||||
source:
|
||||
kind: postgresql_user
|
||||
ref:
|
||||
cluster: stand
|
||||
database: checklists
|
||||
user: checklists
|
||||
targets:
|
||||
- kind: vault
|
||||
path: apps/checklists/postgres
|
||||
- id: comparisons-db
|
||||
schema: postgresql.v1
|
||||
namespace: comparisons
|
||||
source:
|
||||
kind: postgresql_user
|
||||
ref:
|
||||
cluster: stand
|
||||
database: comparisons
|
||||
user: comparisons
|
||||
targets:
|
||||
- kind: vault
|
||||
path: apps/comparisons/postgres
|
||||
|
||||
7
environments/stand/services/bi.yaml
Normal file
7
environments/stand/services/bi.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
service: bi
|
||||
owner: bi
|
||||
|
||||
needs:
|
||||
postgresql:
|
||||
database: bi
|
||||
user: bi
|
||||
7
environments/stand/services/checklists.yaml
Normal file
7
environments/stand/services/checklists.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
service: checklists
|
||||
owner: checklists
|
||||
|
||||
needs:
|
||||
postgresql:
|
||||
database: checklists
|
||||
user: checklists
|
||||
7
environments/stand/services/comparisons.yaml
Normal file
7
environments/stand/services/comparisons.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
service: comparisons
|
||||
owner: comparisons
|
||||
|
||||
needs:
|
||||
postgresql:
|
||||
database: comparisons
|
||||
user: comparisons
|
||||
7
environments/stand/services/drawings.yaml
Normal file
7
environments/stand/services/drawings.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
service: drawings
|
||||
owner: drawings
|
||||
|
||||
needs:
|
||||
postgresql:
|
||||
database: drawings
|
||||
user: drawings
|
||||
Loading…
Reference in New Issue
Block a user