forked from cloudfoundry/cf-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuse-alicloud-oss-blobstore.yml
56 lines (44 loc) · 2.27 KB
/
use-alicloud-oss-blobstore.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
# Note: Capi release version 1.61.0 or more is required to use Alibaba Cloud OSS as CF blobstore.
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/buildpacks/fog_connection
error: "Please apply 'use-external-blobstore.yml' before applying 'use-alicloud-oss-blobstore.yml'."
value: &blobstore-properties
provider: aliyun
aliyun_accesskey_id: ((blobstore_access_key_id))
aliyun_accesskey_secret: ((blobstore_secret_access_key))
aliyun_region_id: ((blobstore_region))
aliyun_oss_bucket: ((blobstore_bucket_name))
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/droplets/fog_connection
value: *blobstore-properties
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/packages/fog_connection
value: *blobstore-properties
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/resource_pool/fog_connection
value: *blobstore-properties
- type: replace
path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/buildpacks/fog_connection
value: *blobstore-properties
- type: replace
path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/droplets/fog_connection
value: *blobstore-properties
- type: replace
path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/packages/fog_connection
value: *blobstore-properties
- type: replace
path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/resource_pool/fog_connection
value: *blobstore-properties
- type: replace
path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/buildpacks/fog_connection
value: *blobstore-properties
- type: replace
path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/droplets/fog_connection
value: *blobstore-properties
- type: replace
path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/packages/fog_connection
value: *blobstore-properties
- type: replace
path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/resource_pool/fog_connection
value: *blobstore-properties