@@ -40,22 +40,24 @@ Cloud Controller will introduce support for CLI based blobstore clients, startin
40
40
Specifically, we will:
41
41
* Add a new blobstore client using ` bosh-azure-storage-cli `
42
42
* 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 :
45
45
``` YAML
46
46
packages :
47
47
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 :
51
50
azure_storage_access_key : <access_key>
52
51
azure_storage_account_name : <account_name>
53
52
container_name : app-packages
54
53
environment : AzureCloud
55
54
provider : AzureRM
56
55
max_package_size : 1610612736
57
56
` ` `
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
59
61
* Keep the `fog-azure-rm` backend during the transition
60
62
61
63
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
78
80
- [ ] `ensure-bucket-exists`
79
81
- [ ] Implement `bosh-azure-storage-cli` based blobstore client in Cloud Controller with extensibility for other providers in mind
80
82
- [ ] Add `bosh-azure-storage-cli` package to capi-release
83
+ - [ ] Add ops file in cf-deployment to allow opt-in
81
84
- [ ] Add support for AWS
82
85
- [ ] Add support for GCP
83
86
- [ ] Add support for Alibaba Cloud
0 commit comments