Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to fetch https://kubernetes-charts.storage.googleapis.com/index.yaml : 403 Forbidden #161

Open
inlann opened this issue Jul 13, 2022 · 3 comments

Comments

@inlann
Copy link

inlann commented Jul 13, 2022

Hello:

It's glad to find this awesome CI system 🚀

I'm new to Helm. When I tried to run helm dep update, I got the forbidden error:

mac@ubuntu:~/Work/werft/helm$ helm dep update
Getting updates for unmanaged Helm repositories...
...Unable to get an update from the "https://kubernetes-charts.storage.googleapis.com" chart repository:
	failed to fetch https://kubernetes-charts.storage.googleapis.com/index.yaml : 403 Forbidden
Error: no cached repository for helm-manager-f57ac438e6d97e3defb8e0378330d3cde64dcb65ed39e560646a0813a34e0581 found. (try 'helm repo update'): open /home/mac/.cache/helm/repository/helm-manager-f57ac438e6d97e3defb8e0378330d3cde64dcb65ed39e560646a0813a34e0581-index.yaml: no such file or directory

How can I fix it?

Really appreciate

@inlann
Copy link
Author

inlann commented Jul 14, 2022

It seems like the repository https://kubernetes-charts.storage.googleapis.com in the helm/requirements.yaml should be replaced with https://charts.helm.sh/stable:

mac@master:~/Work/werft/helm$ helm repo add werft_test https://kubernetes-charts.storage.googleapis.com
Error: repo "https://kubernetes-charts.storage.googleapis.com" is no longer available; try "https://charts.helm.sh/stable" instead

@inlann
Copy link
Author

inlann commented Jul 15, 2022

To use werft with GitHub you'll need a GitHub app. To create the app, please follow the steps here.

The link of creating-a-github-app has been moved to https://docs.github.com/en/enterprise-cloud@latest/developers/apps/building-github-apps/creating-a-github-app

BTW, can I deploy the Werft without creating a Github application?

@inlann
Copy link
Author

inlann commented Jul 19, 2022

Another question:

The apiVersion rbac.authorization.k8s.io/v1beta1 in the werft/helm/templates/serviceaccount.yaml has beed deprecated in Kubernetes v1.22. It's rbac.authorization.k8s.io/v1 for now.

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

No branches or pull requests

1 participant