Skip to content

Commit 03e4206

Browse files
authored
Describe config changes in more detail
1 parent 68b17c6 commit 03e4206

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

decisions/0014-storage-clis-for-blobstore-operations.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,24 @@ Cloud Controller will introduce support for CLI based blobstore clients, startin
4040
Specifically, we will:
4141
* Add a new blobstore client using `bosh-azure-storage-cli`
4242
* Shell out from Cloud Controller to perform blobstore operations
43-
* Allow opt-in via `blobstore_type` configuration parameter and reusing of the existing configuration parameters:
44-
* Example diff:
43+
* Allow opt-in via `blobstore_type` configuration parameter
44+
* Desired configuration format:
4545
```YAML
4646
packages:
4747
app_package_directory_key: app-packages
48-
- blobstore_type: storage-cli
49-
+ blobstore_type: fog
50-
fog_connection:
48+
blobstore_type: storage-cli
49+
connection_config:
5150
azure_storage_access_key: <access_key>
5251
azure_storage_account_name: <account_name>
5352
container_name: app-packages
5453
environment: AzureCloud
5554
provider: AzureRM
5655
max_package_size: 1610612736
5756
```
58-
* Parameters like `fog_connection` may be renamed after the transition period.
57+
* Field `provider` will be used to determine the corresponding storage CLI blobstore client class (same approach is used for fog)
58+
* The `fog_connection` field will be renamed to `connection_config` to make it independent
59+
* Values from `connection_config` are used to generate the corresponding config file for the Bosh storage CLIs
60+
* During the transition phase existing parameters like `fog_connection` may be reused and/or supported in parallel
5961
* Keep the `fog-azure-rm` backend during the transition
6062

6163
The `bosh-azure-storage-cli` needs to be extended with the following commands:
@@ -78,6 +80,7 @@ This will eventually allow us to remove all fog related gems from Cloud Controll
7880
- [ ] `ensure-bucket-exists`
7981
- [ ] Implement `bosh-azure-storage-cli` based blobstore client in Cloud Controller with extensibility for other providers in mind
8082
- [ ] Add `bosh-azure-storage-cli` package to capi-release
83+
- [ ] Add ops file in cf-deployment to allow opt-in
8184
- [ ] Add support for AWS
8285
- [ ] Add support for GCP
8386
- [ ] Add support for Alibaba Cloud

0 commit comments

Comments
 (0)