teamhephy / controller

Hephy Workflow Controller (API)
https://teamhephy.com
MIT License
14 stars 26 forks source link

The ability to define an ENV var that is in fact a secret #69

Open Cryptophobia opened 6 years ago

Cryptophobia commented 6 years ago

From @helgi on February 6, 2016 1:57

The idea is to support deis config:set hello=secret --secret and it puts the value(s) into a secret that is then auto loaded into an ENV var on the application side of things. Perfect for things like DB credentials and other secret things that developers are used to having available in ENV vars

When doing deis config to see all values it should show <secret> or similar and have a flag of some sort (--secret probably) to show the secret values

This will require Kubernetes 1.2 (https://github.com/kubernetes/kubernetes/issues/4710 landed)

13 and #299 have more context.

Copied from original issue: deis/controller#347