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

helm-mapkubeapis plugin local install error #130

Open
bastienbosser opened this issue Jan 5, 2024 · 0 comments
Open

helm-mapkubeapis plugin local install error #130

bastienbosser opened this issue Jan 5, 2024 · 0 comments

Comments

@bastienbosser
Copy link

It is currently impossible to install the plugin locally from the archive. If you follow the commands below, helm makes a symbolic link to the helm-mapkubeapis directory. This offline installation method could work if the mapkubeapis binary were delivered directly under the bin directory in the archive.

[root@trinity ~]# mkdir helm-mapkubeapis
[root@trinity ~]# tar xzf helm-mapkubeapis_0.4.1_linux_amd64.tar.gz -C helm-mapkubeapis
[root@trinity ~]# export HELM_LINTER_PLUGIN_NO_INSTALL_HOOK=true
[root@trinity ~]# helm plugin install helm-mapkubeapis
[root@trinity ~]# helm mapkubeapis
Error: fork/exec /root/.local/share/helm/plugins/helm-mapkubeapis/bin/mapkubeapis: no such file or directory
[root@trinity3 (TRINITY) ~]# ll /root/.local/share/helm/plugins/helm-mapkubeapis
lrwxrwxrwx. 1 root root 22 Jan  5 15:11 /root/.local/share/helm/plugins/helm-mapkubeapis -> /root/helm-mapkubeapis
[root@trinity3 (TRINITY) ~]# ll /root/helm-mapkubeapis
total 42508
-rw-r--r--. 1 1001 1002    11357 Mar  7  2023 LICENSE
-rw-r--r--. 1 1001 1002    10234 Mar  7  2023 README.md
drwxr-xr-x. 2 root root     4096 Jan  5 15:10 config
-rwxr-xr-x. 1 1001 1002 43491328 Mar  7  2023 mapkubeapis
-rw-r--r--. 1 1001 1002      327 Mar  7  2023 plugin.yaml
drwxr-xr-x. 2 root root     4096 Jan  5 15:10 scripts

I don't know if this fix is a good idea or not, as it seems to me that a new helm feature is needed (helm/helm#12684)

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