Skip to content

entrostat/env2kube

Repository files navigation

env2kube

Convert a .env file to a Kubernetes secret yaml file so that you can apply it and use it in your deployments.

You're able to specify the name and namespace for the secret and the output file name if you'd like on that isn't the same as the env file without .yaml at the end.

It's weird, I did search for similar libraries but didn't find any until now. If you're looking for an alternative, here's a link to a previously existing one https://www.npmjs.com/package/env2kube.

oclif Version Downloads/week License

Usage

$ npm install -g @entrostat/env2kube
$ env2kube COMMAND
running command...
$ env2kube (-v|--version|version)
@entrostat/env2kube/1.0.6 linux-x64 node-v14.17.3
$ env2kube --help [COMMAND]
USAGE
  $ env2kube COMMAND
...

Commands