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

Can't use helm repo command inside pod #35

Open
tamizharasanr opened this issue Sep 28, 2018 · 1 comment
Open

Can't use helm repo command inside pod #35

tamizharasanr opened this issue Sep 28, 2018 · 1 comment

Comments

@tamizharasanr
Copy link

I got the following error when I try to run helm repo list
Error: open /root/.helm/repository/repositories.yaml: no such file or directory

I want to package and push helm chart to my private repository which already added to the helm.

But when i try to run the helm package . got error

Error: stat /root/.helm/repository/local: no such file or directory

@kirankumar77
Copy link

kirankumar77 commented Oct 10, 2020

I am able to see the repo list from helm container but not able to add any repo.
I am able to add repo manually with in helm container but not able to add repo through Jenkins Pipeline.

I am trying to add repo to helm inside helm container but facing same issue and i am unable to add any repo with in the helm pod.
Below are the logs for the same.

  • helm repo add elastic https://helm.elastic.co --debug
    Error: looks like "https://helm.elastic.co" is not a valid chart repository or cannot be reached: open /.cache/helm/repository/elastic-index.yaml: no such file or directory
    helm.go:94: [debug] open /.cache/helm/repository/elastic-index.yaml: no such file or directory
    looks like "https://helm.elastic.co" is not a valid chart repository or cannot be reached
    main.(*repoAddOptions).run
    /home/circleci/helm.sh/helm/cmd/helm/repo_add.go:154
    main.newRepoAddCmd.func1
    /home/circleci/helm.sh/helm/cmd/helm/repo_add.go:71
    github.com/spf13/cobra.(*Command).execute
    /go/pkg/mod/github.com/spf13/[email protected]/command.go:842
    github.com/spf13/cobra.(*Command).ExecuteC
    /go/pkg/mod/github.com/spf13/[email protected]/command.go:950
    github.com/spf13/cobra.(*Command).Execute
    /go/pkg/mod/github.com/spf13/[email protected]/command.go:887
    main.main
    /home/circleci/helm.sh/helm/cmd/helm/helm.go:93
    runtime.main
    /usr/local/go/src/runtime/proc.go:203
    runtime.goexit
    /usr/local/go/src/runtime/asm_amd64.s:1373

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

2 participants