From bb47fde408dd2392ebca023df5aaacb075c9dae6 Mon Sep 17 00:00:00 2001 From: xiaozhu36 Date: Wed, 13 Jun 2018 15:52:05 +0800 Subject: [PATCH] Add blobstore alicloud oss ops file --- alicloud/oss-blobstore.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 alicloud/oss-blobstore.yml diff --git a/alicloud/oss-blobstore.yml b/alicloud/oss-blobstore.yml new file mode 100644 index 000000000..61d1d63f5 --- /dev/null +++ b/alicloud/oss-blobstore.yml @@ -0,0 +1,16 @@ +--- + +# Using Alibaba Cloud OSS Service as Bosh blobstore +# If you want to apply the current oss bucket for other blobstores, you can specify 'bucket_name' to oss bucket and its one directory, like "((bucket_name))/bosh-blobs", and then the directory "bosh-blobs" will store all of bosh blobs. + +- type: remove + path: /instance_groups/name=bosh/jobs/name=blobstore + +- type: replace + path: /instance_groups/name=bosh/properties/blobstore? + value: + provider: s3 + bucket_name: ((bucket_name)) + host: oss-((region)).aliyuncs.com + access_key_id: ((access_key_id)) + secret_access_key: ((access_key_secret))