News for hackers. Stuff that matters.
Re:Show HN: kenv – an environment file injector for Kubernet... by mihok on Wednesday September 28, 2016 @11:19AM (#12598333)
What is the use case for this when Kubernetes already has things like ConfigMaps and Secrets?
Re:Show HN: kenv – an environment file injector for Kubernet... by timdorr on Wednesday September 28, 2016 @11:23AM (#12598370)
It looks like it builds on those resources, but lets you deal with them via a simple dotenv-style file, rather than full YAML. Could be helpful for integration with those kinds of files or if you're migrating from an older .profile-based config.
Re:Show HN: kenv – an environment file injector for Kubernet... by nextrevision on Wednesday September 28, 2016 @11:40AM (#12598541)
This was prompted largely by a move from Docker Compose, where we used env_file quite a bit. kenv will both create the Secret/ConfigMap resource as well as inject the env lookups into an existing Kubernetes resource (deployment, replicaset, daemonset, or replication controller). This allows us to keep our environment specific configuration alongside the app and just inject at deploy time.