Skip to content
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

Make Azure Cloud configurable for director blobstore #2552

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

s4heid
Copy link
Contributor

@s4heid s4heid commented Aug 20, 2024

What is this change about?

This change introduces a configuration option for the director blobstore that supports storage accounts on non-public Azure Clouds.

Please provide contextual information.

#2544

What tests have you run against this PR?

Deployed a director including these changes on AzureChinaCloud, replaced the bosh-azure-storage-cli with one that includes cloudfoundry/bosh-azure-storage-cli#16, and validated that issue #2544 is resolved.

How should this change be described in bosh release notes?

To enable configuration of the BOSH Director blobstore in different Azure Clouds, a new parameter environment has been introduced. Users can specify the desired Azure Cloud environment (e.g., AzureUSGovernment, AzureChinaCloud) using the environment parameter in their BOSH Director configuration.

Does this PR introduce a breaking change?

No.

Tag your pair, your PM, and/or team!

@jpalermo, @a-hassanin

@jpalermo jpalermo requested review from a team, aramprice and bgandon and removed request for a team August 29, 2024 15:03
@jpalermo
Copy link
Member

Maybe blobstore.azure_environment rather than blobstore.environment to make it more clear it's only for Azure?

Copy link
Member

@aramprice aramprice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This addition looks reasonable, thanks!

Copy link
Member

@jpalermo jpalermo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving this into a proper "review"

Maybe blobstore.azure_environment rather than blobstore.environment to make it more clear it's only for Azure?

@s4heid
Copy link
Contributor Author

s4heid commented Sep 6, 2024

Highlighting the IaaS aspect is a good call.

Additionally, it's worth noting that within the Azure CLI, this attribute is referred to as AZURE_CLOUD_NAME, whereas in the bosh-azure-cpi, it's termed as 'environment', where the IaaS context is more apparent.

I'm comfortable with either naming convention, be it azure_cloud_name or azure_environment. @jpalermo feel free to choose whichever you prefer, and I'll adjust the PR.

@jpalermo
Copy link
Member

Lets keep it closer to the azure cli convention, hopefully that makes it make more sense for future contributors and users.

@s4heid
Copy link
Contributor Author

s4heid commented Sep 12, 2024

@jpalermo sounds reasonable. I adapted the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting for Changes | Open for Contribution
Development

Successfully merging this pull request may close these issues.

3 participants