Hello
We need use bitbucket repository for helm repository.
So we have Private bitbucket repository. I created App Password and try to add Bitbuket repository to helm and got the following issue:
# helm repo add helmstore https://ruslanshevchenko:<app_password>@bitbucket.org/ruslanshevchenko/affiliates/raw/master/
Error: Looks like "https://ruslanshevchenko:<app_password>@bitbucket.org/ruslanshevchenko/affiliates/raw/master/" is not a valid chart repository or cannot be reached: Failed to fetch https://ruslanshevchenko:<app_password>@bitbucket.org/ruslanshevchenko/affiliates/raw/master/index.yaml : 403 Forbidden
Can you provide manual how to correct add Bitbucket repo to helm.
Thank you.
Hi! @Ruslan Shevchenko any upate on this?
I'm also trying to get a private bitbucket repository working as Helm repository.
Currently it seems, that it is not possible.
The only way I've found to access raw files is via API:
curl -s -S --user {USER}:{APP-PASSWORD} -L -O https://api.bitbucket.org/2.0/repositories/{USER|ORGANISATION}/{REPOSITORY}/src/{BRANCH}/{PATH-AND-FILENAME}
Hi!
I think that's the correct way right now.
helm repo add {REPONAME} https://api.bitbucket.org/2.0/repositories/{USER|ORGANISATION}/{REPOSITORY}/src/master/ --username {USER} --password {APP-PASSWORD}
Above line is working fine for me. Just make sure that charts.yaml is in the root directory of your repository.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what URL are you passing when you create the index?
{code}
helm repo index --url <my repo URL}
{code}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just created a new repository. Then:
cd {PATH_TO_REPOSITORY}
mkdir charts
helm package {PATH_TO_CHART_1} --destination charts
helm package {PATH_TO_CHART_2} --destination charts
...
helm package {PATH_TO_CHART_N} --destination charts
helm repo index
git add charts index.yaml
git commit -m 'initial commit'
git push
EDIT: I don't use this anymore, I have switched over to Azure Container Registry. The helm part is still in preview, though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yeah, the making is the easy part.
Try using it. helm3 spits it back out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I never tried it with helm v3. Back then I used helm v2 because helm v3 was in beta state and it worked fine. As I mentioned before, I moved on to Azure Container Registry, which supports helm repositories in preview (helm v2 and v3, but no git shorthash in chart versions).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
helm repo add {REPONAME} https://api.bitbucket.org/2.0/repositories/{USER|ORGANISATION}/{REPOSITORY}/src/master/ --username {USER} --password {APP-PASSWORD}
Thanks for updating the solution for helm repo add via using an app password.
I was looking for a solution from the last week. Finally, I got it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
403 implies that the application password you're using here doesn't have the correct access for that repository.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.