Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

helm secrets install fails when home folder has an '@' symbol #115

Open
rudolphjacksonm opened this issue Apr 24, 2019 · 2 comments
Open

Comments

@rudolphjacksonm
Copy link

When running helm secrets install I receive the following error due to there being an @ symbol in my home folder:

/Users/foo@bar.com/.helm/plugins/helm-secrets/secrets.sh: line 458: cmdopts[@]: unbound variable

I'm using a company laptop, hence the convention of having an email address as the user home folder. I'm assuming this is because of set -ueo is specified in secrets.sh but I could be wrong. I've commented out that line and it works for me now.

@aramkarapetian
Copy link

Had the same issue, commenting out worked. The strange thing is it works for one chart but not for another and I cannot see the difference.

@youngkin
Copy link

youngkin commented Feb 14, 2020

I also had this issue, but for a different reason. I tried to run a standard helm upgrade ... command, but changing it to helm secrets upgrade .... This resulted in the error in the title of this issue. Looking at the secrets plugin script referenced in the error message it occurred to me that the helm secrets command was missing command line options (e.g., cmdopts). That was indeed the issue. Updating the command to helm secrets upgrade --values path/to/secrets.yaml ... worked.

A better error message would be helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants