goharbor / harbor-helm

The helm chart to deploy Harbor
Apache License 2.0
1.17k stars 760 forks source link

Use private connection to Azure Blob Storage #1810

Open aechegoyan17 opened 1 month ago

aechegoyan17 commented 1 month ago

Hi,

I would like to use Azure Blob Storage to store artifacts, but due to company policies I cannot use public internet connections so I am trying to use private links. This doesn't seem possible at the moment as it currently dynamically adds the word "blob" before the specified realm (e.g. core.windows.net) somewhere, resulting in "xxx.blob.core.windows.net" instead of "xxx.privatelink.blob.core.windows.net" which is what I need. Here is an example configuration:

image

Causing the following error, due to "blob" word being added before:

image

I tried using the Distribution middleware feature but doesn't seem to work. Here is their documentation: https://distribution.github.io/distribution/storage-drivers/middleware/rewrite/

Thank you

MinerYang commented 2 weeks ago

Would you try to disableredirect:true https://github.com/goharbor/harbor-helm/blob/44f6a8ffd6a73fb04f9c3b0b2789637750bab3d7/values.yaml#L185