Unify backend resources and role bindings in clusters

This commit is contained in:
2026-11-30 18:24:24 +08:00
parent ac62c8a655
commit 9869a9966c
18 changed files with 469 additions and 227 deletions
+9 -6
View File
@@ -1,18 +1,21 @@
# Illustrative service names. Inject deployment credentials before publishing.
deployment: production
config_version: example-1
clusters:
resources:
pg-main:
kind: sql
driver: postgres
primary: postgres://bedrock@pg-main:5432/bedrock
mysql-legacy:
kind: sql
driver: mysql
primary: mysql://bedrock@mysql-legacy:3306/legacy
sql:
documents: pg-main
legacy: mysql-legacy
object_storage:
attachments:
attachment-store:
kind: object_store
driver: s3
bucket: bedrock-attachments
region: us-east-1
bindings:
documents: pg-main
legacy: mysql-legacy
attachments: attachment-store