helm-push icon indicating copy to clipboard operation
helm-push copied to clipboard

helm push with error open /root/.config/helm/repositories.yaml: no such file or directory

Open singeleaf opened this issue 4 years ago • 1 comments

helm verison

version.BuildInfo{Version:"v3.0.0-alpha.2", GitCommit:"97e7461e41455e58d89b4d7d192fed5352001d44", GitTreeState:"clean", GoVersion:"go1.12.7"}

when get push

[root@v10-master-1 helm]# helm push harbor-4.0.0.tgz chart_repo -u admin -p Harbor12345 Error: couldn't load repositories file (/root/.config/helm/repositories.yaml): open /root/.config/helm/repositories.yaml: no such file or directory Error: plugin "push" exited with error

singeleaf avatar Sep 25 '20 08:09 singeleaf

a workaround : ln -s /root/.config/helm/repositories.yaml /root/.helm/repository/repositories.yaml or push directly to the URL of the registry

tonymayflower avatar Oct 06 '20 08:10 tonymayflower