helm-secrets
helm-secrets copied to clipboard
Has windows line endings. This is a bash script.
This is a bash script with Windows line endings. Why?
➜ helm secrets version
/usr/bin/env: ‘bash\r’: No such file or directory
Error: plugin "secrets" exited with error
Ran that on all the shell scripts. Installation worked.
sed -i 's/\r$//' scriptname.sh
I was having this problem in Ubuntu shell on Windows 10 but I found a workaround. I tried to install it - it failed. I then ran dos2unix on ~/.helm/plugins/secrets/install-binary.sh and secrets.sh and ran:
helm plugin update secrets
and it worked.