Closed angelhvargas closed 7 months ago
Hey From the error and after diving into the code, it looks like that vendir only supports a single folder download for each chart. This looks like a safeguard added to ensure that when you use vendir to get a Chart, you only get a single Chart inside a single folder.
Is it possible that when you download using that URL, you get multiple files/folders?
@joaopapereira I'm not sure why with the Helm client works just fine and with vendir does not,
In our storage account, the Blob has a index.yaml:
certificate-manager:
- apiVersion: v2
created: "2023-01-13T15:09:29.998396143Z"
description: A Helm chart for Generating Certificates
digest: 845b7505c93146e9dc1e90446869cb935fbac919807fb6d6cd2885ee5b13e323
name: certificate-manager
type: application
urls:
- certificate-manager-1.0.7.tgz
version: 1.0.7
- apiVersion: v2
created: "2023-01-12T16:18:04.215433537Z"
description: A Helm chart for Generating Certificates
digest: abce69a427805a7a8c568635602badcb8990368ba726655d1ab0c6eb3a592b1a
name: certificate-manager
type: application
urls:
- certificate-manager-1.0.7-dev.tgz
version: 1.0.7-dev
This index.yaml
as you can see has the information for each helm chart stored within that Azure blob, the files are all at the same dir level with unique names.
This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.
What steps did you take:
After executing
kctrl package init
What happened: The command
vendir sync -f vendir.yml
did not work with our private Helm repository (Azure Blob).What did you expect:
See the command succeed
Anything else you would like to add: Probably because the repo it is in Azure blob?
Environment:
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote. 😄
👍 "I would like to see this addressed as soon as possible" 👍 😄 👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.