@@ -40,7 +40,22 @@ 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 configuration parameter
43
+ * Allow opt-in via ` blobstore_type ` configuration parameter and reusing of the existing configuration parameters:
44
+ * Example diff:
45
+ ``` YAML
46
+ packages :
47
+ app_package_directory_key : app-packages
48
+ - blobstore_type : storage-cli
49
+ + blobstore_type : fog
50
+ fog_connection :
51
+ azure_storage_access_key : <access_key>
52
+ azure_storage_account_name : <account_name>
53
+ container_name : app-packages
54
+ environment : AzureCloud
55
+ provider : AzureRM
56
+ max_package_size : 1610612736
57
+ ` ` `
58
+ * Parameters like ` fog_connection` may be renamed after the transition period.
44
59
* Keep the `fog-azure-rm` backend during the transition
45
60
46
61
The `bosh-azure-storage-cli` needs to be extended with the following commands :
@@ -75,11 +90,16 @@ This will eventually allow us to remove all fog related gems from Cloud Controll
75
90
* Reduces long-term maintenance burden and potential security issues
76
91
* Allows providers to be migrated independently
77
92
* Increases initial complexity during migration phase
93
+ * More maintainers/contributors for the Bosh storage CLIs
94
+
95
+
78
96
* With more consumers, interface changes in the Bosh storage CLIs may require more coordination
79
97
80
98
# # Alternatives Considered
81
99
82
- * Replace fog with newer Ruby gems → Maintenance risk persists and only a short-term solution
100
+ * Replace fog with newer Ruby gems
101
+ * → Maintenance risk persists and only a short-term solution
102
+ * → Not possible for Azure because the used [azure-sdk-for-ruby](https://github.com/Azure/azure-sdk-for-ruby) is archived
83
103
* Implement own blobstore client in Ruby → High development and testing effort
84
104
85
105
0 commit comments