snapcrafters / helm

Unofficial Helm installer for Linux
https://snapcraft.io/helm
MIT License
36 stars 26 forks source link

snap version of helm cannot find executables declared in kubectl config #29

Closed arjovanramshorst closed 4 years ago

arjovanramshorst commented 5 years ago

Possibly related to #10 but I wanted to create a separate issue anyway to help future people with the same problem:

While trying to install helm (tiller) on an aws EKS cluster, it didn't work because it couldn't find the iam-aws-authenticator file in $PATH, which is used to authenticate. After a couple of hours of headscratching, I've tried using the binary install to reinstall helm, and it worked at once.

joedborg commented 4 years ago

Hi @arjovanramshorst, I need to look into why this is happening. As this is a classic confinement snap, it should be able to access other binaries across your system. Could you try forcing PATH when running the snap, please? E.g.

PATH="/my/path:${PATH}" helm