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

185 lines
4.8 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
data:
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