
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
github.com/belimawr/kubernetes-envvar
Advanced tools
Small cli application to read environment variables from Kubernetes' deployment.yaml, export them and run a command in the "new" environment
This is a WORK IN PROGRESS!!!
I've been using Kubernetes for a while now and using environment variables to configure my applications and each environment (staging, production, etc) has got its own deployment.yaml and when the number of environment variables grows past two it gets annoying to run an application locally pointing to a different environment (e.g. staging).
So I decided to write this wee tool to do the "monkey job" of reading the deployment.yaml and exporting the environment variables
$ ./kubernetes-envvar <type: d|t> <filepath> <command and args>
Arguments:
t or d depending on the structure of the yaml file.
d is for the simpler yaml (see example/deployment.yaml)t is for a helm yaml file (see example/deploymentWithTemplate.yaml)GPLv3
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.