helm push with error open /root/.config/helm/repositories.yaml: no such file or directory
singeleaf opened this issue · 1 comments
singeleaf commented
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
tonymayflower commented
a workaround : ln -s /root/.config/helm/repositories.yaml /root/.helm/repository/repositories.yaml
or push directly to the URL of the registry