project-zot / zot

zot - A scale-out production-ready vendor-neutral OCI-native container image/artifact registry (purely based on OCI Distribution Specification)
https://zotregistry.dev
Apache License 2.0
942 stars 99 forks source link

[Feat]: Support for Azure Storage Account / Blob #2221

Open jkroepke opened 9 months ago

jkroepke commented 9 months ago

Is your feature request related to a problem? Please describe.

At Azure, there is no S3 compatible service. instead we have to use Azure Blob Storage

Describe the solution you'd like

First Class Azure Support similar to AWS S3

Describe alternatives you've considered

blob-fuse, but it has tons of disadvantages compared to native storage implementations. Features like pre-signed URLs are not availible.

Additional context

I can assist with integration tests, for example proving a storage account.

Otherwise, https://github.com/Azure/Azurite can be used for local development, similar to localstack for AWS S3

jkroepke commented 9 months ago

I looked a bit deeper into it and It turns out that the upstream dependency support all modern authentications.

https://github.com/distribution/distribution/pull/3839

However, this PR is not availible in 2.8.3, but included in v3.0.0-alpha.1.

From my point of view, it does not make sense to implement Azure unless distribution v3 is released.