Re:Twelve-factor app development on Google Cloud
by AlphaSite on Friday November 01, 2019 @01:02AM
(#21416402)
If you have something like k8s it becomes trivial to use files vs end vars.
Re:Twelve-factor app development on Google Cloud
by manigandham on Friday November 01, 2019 @03:08AM
(#21416771)
How so? You still have to edit the file, save it somewhere, then mount it as a volume and agree on a location.
Re:Twelve-factor app development on Google Cloud
by yencabulator on Friday November 01, 2019 @11:50AM
(#21420078)
The configuration file can be inline in the yaml, ConfigMaps take care of shuffling bytes around for you, and for a specific app it's config can always be at a fixed path.
Sometimes that location is communicated through an env var, and that point why not just set all config that way?