-
Notifications
You must be signed in to change notification settings - Fork 107
Add Azure Storage CLI connection config to specs and yml.erb files #574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
45491ee
to
6571de4
Compare
- Add four job templates to api, worker, and clock to emit storage-cli JSON: storage_cli_config_droplets.json.erb storage_cli_config_packages.json.erb storage_cli_config_buildpacks.json.erb storage_cli_config_resource_pool.json.erb Each template builds "connection_config" for AzureRM only, applies a default put_timeout_in_seconds: "41" if missing, and passes through any custom flags. - Expose new config paths in cloud_controller_*/*.yml.erb - Register the new files in job specs so they render under config/
6651acf
to
ac99f38
Compare
f4e7f8a
to
3b8be47
Compare
3b8be47
to
0c12f66
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a lot of duplicated code. Can you try to move the common coding to the shared_job_templates
folder? I'm not 100% sure if that works, but there should be an option to move common .erb coding to a shared file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be that it is not so trivial/possible: BOSH renders .erb on the director/agent before the VM’s job tree exists. At this moment, paths like /var/vcap/jobs/cloud_controller_ do not exist. There’s no supported way to “reach over” to shared_job_templates in the repo during render.
…ds is not set, return nil
Co-Authored-By: johha <[email protected]>
82a2ad2
to
b68bb41
Compare
…t, CCNG reads provider from JSON
b68bb41
to
d7b2b39
Compare
A short explanation of the proposed change:
Add Azure Storage CLI connection configuration property to the Cloud Controller specs for bosh-azure-storage-cli based blobstore client integration
An explanation of the use cases your change solves
bosh-azure-storage-cli based blobstore client is a potential replacement for deprecated fog libraries like azure fog
Links to any other associated PRs
Extend bosh-azure-storage-cli: new blob commands + upload timeout bosh-azure-storage-cli#22
ADR: Use Bosh Storage CLIs for Blobstore Operations cloud_controller_ng#4443
POC: bosh-azure-storage-cli based blobstore client cloud_controller_ng#4397
I have viewed signed and have submitted the Contributor License Agreement
I have made this pull request to the
develop
branchI have run CF Acceptance Tests on bosh lite