Group deployment files by deployment method
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user