terraform-contour-mirror/environments/stand/secrets.yaml

274 lines
7.0 KiB
YAML

environments:
stand:
vault:
enabled: true
kv_mount: secrets
path_prefix: vault
kubernetes_auth_backend: kubernetes
features:
create_regcred: false
create_smtp_auth: false
create_django_auth: false
create_rsa_keys: true
create_infra_secrets: true
create_infra_policies: true
create_infra_roles: true
create_app_policies: true
create_app_roles: true
applications:
postgresql-zitadel:
enabled: true
service_account_names:
- postgresql
service_account_namespaces:
- postgresql
token_ttl: 24h
read_paths:
- postgresql-zitadel/admin
- zitadel/postgresql
camunda-contour:
enabled: true
service_account_names:
- camunda-connectors
- camunda-identity
- camunda-operate
- camunda-optimize
- camunda-tasklist
- camunda-postgresql
- camunda-keycloak
- camunda-identity-postgresql
service_account_namespaces:
- camunda
token_ttl: 24h
read_paths:
- camunda/identity-db
- camunda/keycloak-db
- camunda/keycloak-admin
- camunda/identity-components
- camunda/identity-firstuser
bim:
enabled: true
service_account_names:
- bim-vault
service_account_namespaces:
- bim
token_ttl: 24h
read_paths:
- apps/bim/postgres
django:
enabled: true
service_account_names:
- django-vault
service_account_namespaces:
- django
token_ttl: 24h
read_paths:
- apps/django/postgres
- rabbitmq/apps/django
- 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:
generate: true
infrastructure:
postgresql:
admin:
enabled: false
users:
enabled: false
rabbitmq:
auth:
enabled: false
minio:
admin:
enabled: false
kafka:
bootstrap:
enabled: false
zitadel:
postgresql:
enabled: false
keycloak:
enabled: false
camunda:
postgresql:
enabled: false
keycloak_admin:
enabled: true
generate: true
identity_components:
enabled: true
generate: false
values:
connectors-secret: identity-secret-for-components
console-secret: identity-secret-for-components
keycloak-secret: identity-secret-for-components
operate-secret: identity-secret-for-components
optimize-secret: identity-secret-for-components
tasklist-secret: identity-secret-for-components
zeebe-secret: identity-secret-for-components
identity_firstuser:
enabled: true
generate: true
role:
enabled: false
secrets:
- id: camunda-identity-db
schema: postgresql.v1
namespace: camunda
source:
kind: postgresql_user
ref:
cluster: stand
database: identity
user: identity
targets:
- kind: vault
path: camunda/identity-db
- id: camunda-keycloak-db
schema: postgresql.v1
namespace: camunda
source:
kind: postgresql_user
ref:
cluster: stand
database: bitnami_keycloak
user: bn_keycloak
targets:
- kind: vault
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
- id: django-db
schema: postgresql.v1
namespace: django
source:
kind: postgresql_user
ref:
cluster: stand
database: django
user: django
targets:
- kind: vault
path: apps/django/postgres
- id: django-rabbitmq
schema: rabbitmq.v1
namespace: django
source:
kind: rabbitmq_user
ref:
cluster: default
vhost: django
user: django
targets:
- kind: vault
path: rabbitmq/apps/django
- id: django-s3
schema: s3.v1
namespace: django
source:
kind: s3_bucket
ref:
bucket: django
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