Skip to content

Commit 68b17c6

Browse files
committed
add config example
1 parent a6704c1 commit 68b17c6

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

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

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,22 @@ 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 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.
4459
* Keep the `fog-azure-rm` backend during the transition
4560

4661
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
7590
* Reduces long-term maintenance burden and potential security issues
7691
* Allows providers to be migrated independently
7792
* Increases initial complexity during migration phase
93+
* More maintainers/contributors for the Bosh storage CLIs
94+
95+
7896
* With more consumers, interface changes in the Bosh storage CLIs may require more coordination
7997

8098
## Alternatives Considered
8199

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
83103
* Implement own blobstore client in Ruby → High development and testing effort
84104

85105

0 commit comments

Comments
 (0)