helm-secrets
helm-secrets copied to clipboard
helm secrets install fails when home folder has an '@' symbol
When running helm secrets install
I receive the following error due to there being an @ symbol in my home folder:
/Users/[email protected]/.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.
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.
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.