Changes
- Adds the ability to pass the secret name directly to the
get
command, (e.g.kubesecret get my-secret-name
) and skip the interactive select secret step (#16) - kubesecret is now published to
npm
! (#14) - Fixed #5: Use the users'
kubectl
current context namespace if the namespace is not explicitly passed via the-n
flag
Installation
You can now install kubesecret via npm (min Node.js version: 10.0.0):
$ npm install -g @bufferapp/kubesecret
$ kubesecret -V
0.5.0
Alternatively, you can download via OS binary:
Download the binary relevant to your OS and place it somewhere on your $PATH
. If you get a permission error when trying to run it, run chmod +x /path/to/the/binary
to make the file executable.
Linux:
wget https://github.com/bufferapp/kubesecret/releases/download/v0.5.0/kubesecret-linux -O /usr/local/bin/kubesecret && chmod +x /usr/local/bin/kubesecret
MacOS:
wget https://github.com/bufferapp/kubesecret/releases/download/v0.5.0/kubesecret-macos -O /usr/local/bin/kubesecret && chmod +x /usr/local/bin/kubesecret