bufferapp / kubesecret Goto Github PK
View Code? Open in Web Editor NEWA tool to manage secrets in kubernetes
Home Page: https://www.npmjs.com/package/@bufferapp/kubesecret
License: MIT License
A tool to manage secrets in kubernetes
Home Page: https://www.npmjs.com/package/@bufferapp/kubesecret
License: MIT License
Version 0.4.0-rc1
I was playing around and had a potiential edit to the valur of a key. However, I decided not to confirm, and as a result I was ejected from my kubesecret session, rather than returning to an appropriate menu.
? Please input the new value for "last-one":
Here are the changes:
Old value: Hope all is well
New value:
? Proceed with change: No
Colins-MacBook-Pro:buffer-web colin$
Version 0.4.0-rc1
I did a kubesecret get
and forgot to specify the namespace (a common habit I have with kubectl
too ๐
).
The output then says Working with namespace undefined
and it looks like what ends up happening is that the default
namespace is used.
I'm just wondering if making the namespace required would help to avoid any potential confusion here. Or, at the very least, the informational message could say Working with namespace default
?
Version 0.4.0-rc1
I found it a bit weird that in some menus, I am promped to choose a number while in others I have to use the cursor keys to select the option I want. It's not a huge deal, I just find it a bit jarring to use.
Compare:
? Choose a secret to work with:
1) buffer-analyze-keys
2) buffer-publish-buffer-api-client
3) buffer-publish-keys
4) buffer-session-service-keys
5) buffer-web-secret
6) log-aggregator-aws
7) log-aggregator-dd
8) marketing-site
9) twitter-friends-aws
Answer:
with
? Choose next action:
โฏ View all keys
View a specific key
Edit secret
Remove secret (TODO)
Exit
Version 0.4.0-rc1
I think this is partly related to the tool being interactive, but I find it tricky sometimes to know where I should be looking when I choose an option - often text changes above where I am making my option, forcing me to constantly have to look up and down to find the result of an action.
To make it easier to get started with this tool ๐
A tool to manage secrets in kubernetes
Run t
VERSION="0.3"
curl -L https://github.com/bufferapp/kubesecret/releases/download/$VERSION/kubesecret-`uname -s` > /usr/local/bin/kubesecret
chmod +x /usr/local/bin/kubesecret
uname -s
we could make the binary -Linux-
...Instead of having to switch back and forth between kubectl
and kubsecret
it would be awesome to quickly list all secrets in a given namespace.
Instead of having to run kubectl -n reply get secrets
then run kubesecret -n reply get secret <secret-name>
we could list all of the secrets via kubesecret
to have a smooth workflow.
If we wanted to make it more interactive one day we could even make it put out a numbered list and prompt the user for a number to read. ex.
kubesecret -n reply get
1) secret-a
2) secret-b
What secret would you like to view?
> _
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.