这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@m90
Copy link
Member

@m90 m90 commented Dec 24, 2022

Closes #101

@m90 m90 mentioned this pull request Dec 24, 2022
3 tasks
@m90 m90 marked this pull request as ready for review December 24, 2022 09:39
README.md Outdated
environment:
AZURE_STORAGE_CONTAINER_NAME: backup-container
AZURE_STORAGE_ACCOUNT_NAME: account-name
AZURE_STORAGE_PRIMARY_ACCOUNT_NAME: Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==

Choose a reason for hiding this comment

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

Typo - should be KEY. It would be great if we could optionally specify the AZURE_STORAGE_ENDPOINT ourselves as many of us might use an Azure Private Endpoint or (a bit more unlikely) use something like government cloud.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch.

It would be great if we could optionally specify the AZURE_STORAGE_ENDPOINT ourselves

This is already supported, but it's great you mention it because I'm not sure if it covers all the cases. Right now, the default value for AZURE_STORAGE_ENDPOINT is https://{{ .AccountName }}.blob.core.windows.net/ where .AccountName will be replaced with the account name. When passing a custom value you could either also use the templating or just hardcode whatever you need to / want to. Would this be flexible enough to cover private endpoints and/or gov cloud scenarios?

Choose a reason for hiding this comment

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

Perfect, yes you’re spot on!

@m90 m90 merged commit 5c04e11 into main Jan 11, 2023
@m90 m90 deleted the azure-storage branch January 11, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Azure Storage Support

3 participants