Group deployment files by deployment method

This commit is contained in:
2026-11-30 18:27:11 +08:00
parent 9869a9966c
commit 69513d9ffb
11 changed files with 15 additions and 114 deletions
+16
View File
@@ -0,0 +1,16 @@
# Resource catalog for ImportFormat::KubernetesConfigMap.
apiVersion: v1
kind: ConfigMap
metadata:
name: bedrock-resources
data:
bedrock-resources.yaml: |
pg-main:
kind: sql
driver: postgres
primary: postgres://bedrock@pg-main:5432/bedrock
attachments:
kind: object_store
driver: s3
bucket: bedrock-attachments
region: us-east-1
+21
View File
@@ -0,0 +1,21 @@
# Illustrative service names. Inject deployment credentials before publishing.
deployment: production
config_version: example-1
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
attachment-store:
kind: object_store
driver: s3
bucket: bedrock-attachments
region: us-east-1
bindings:
documents: pg-main
legacy: mysql-legacy
attachments: attachment-store