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

Unable to install plugin from .tar.gz #210

Open
verdverm opened this issue Dec 8, 2023 · 1 comment
Open

Unable to install plugin from .tar.gz #210

verdverm opened this issue Dec 8, 2023 · 1 comment

Comments

@verdverm
Copy link

verdverm commented Dec 8, 2023

$ helm install plugin helm-push_0.10.4_linux_amd64.tar.gz
Error: INSTALLATION FAILED: chart illegally contains content outside the base directory: "LICENSE"

helm v3.10.1, though it seems to be the case for some time (helm/helm#5610)

$ tree (of unpacked content)
.
├── LICENSE
├── bin
│   └── helm-cm-push
└── plugin.yaml
@verdverm
Copy link
Author

verdverm commented Dec 11, 2023

after realizing my typo (reversing install & plugin), I'm seeing a different error

$ helm plugin install ./helm-push_0.10.4_linux_amd64.tar.gz
Error: plugin metadata (plugin.yaml) missing

If I manually unpack the tar into the correct location, it works

mkdir -p $HELM_PLUGIN_DIR/helm-push
tar -xf helm-push_0.10.4_linux_amd64.tar.gz -C $HELM_PLUGIN_DIR/helm-push

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