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

Error: no repository definition for https://kubernetes-charts.storage.googleapis.com/, https://kubernetes-charts.storage.googleapis.com/. Please add them via 'helm repo add' #6215

Closed
daixiang0 opened this issue Aug 13, 2019 · 4 comments

Comments

@daixiang0
Copy link
Contributor

I use azure charts as stable, and want to update dependency with local files:

[loki-stack]# helm repo list
NAME  	URL                                      
stable	http://mirror.azure.cn/kubernetes/charts/
local 	http://127.0.0.1:8879/charts             
loki  	https://grafana.github.io/loki/charts    
[loki-stack]# helm dependency update
Error: no repository definition for https://kubernetes-charts.storage.googleapis.com/, https://kubernetes-charts.storage.googleapis.com/. Please add them via 'helm repo add'

But helm need https://kubernetes-charts.storage.googleapis.com/, i do not get it from any docs.

What only can i do is add it:

[loki-stack]# helm repo add stable https://kubernetes-charts.storage.googleapis.com/
"stable" has been added to your repositories
[loki-stack]# helm repo list
NAME  	URL                                              
stable	https://kubernetes-charts.storage.googleapis.com/
local 	http://127.0.0.1:8879/charts                     
loki  	https://grafana.github.io/loki/charts       

Then update succeed:

[loki-stack]# helm dependency update
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):
	Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused
...Successfully got an update from the "loki" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 4 charts
Downloading grafana from repo https://kubernetes-charts.storage.googleapis.com/
Downloading prometheus from repo https://kubernetes-charts.storage.googleapis.com/
Deleting outdated charts

I have some question:

  1. why update dependency with local files need to connect network? All i want is to update locally, why no option support this?

  2. why need https://kubernetes-charts.storage.googleapis.com/, and no docs comment it?

Output of helm version:
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Output of kubectl version:

Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.12", GitCommit:"c757b93cf034d49af3a3b8ecee3b9639a7a11df7", GitTreeState:"clean", BuildDate:"2018-12-19T11:16:52Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.12", GitCommit:"c757b93cf034d49af3a3b8ecee3b9639a7a11df7", GitTreeState:"clean", BuildDate:"2018-12-19T11:04:29Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

@bacongobbler
Copy link
Member

duplicate of #6005.

@daixiang0
Copy link
Contributor Author

@bacongobbler hi, not only this, but question one has no answer.

@daixiang0
Copy link
Contributor Author

@bacongobbler any input?

@rosaiahch
Copy link

Use below common repository.

k8scka@master:~$ helm3 repo add stable https://charts.helm.sh/stable
"stable" has been added to your repositories
k8scka@master:~$

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

3 participants