Useage with Kubernetes (.env fallback) #24
shayneoneill
started this conversation in
General
Replies: 1 comment
-
As shown in the README and the docs on environment variables, fastenv works perfectly fine without a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ok so theres bit of a gap here I cant quite work out.
The problem with .env files is they violate the 12 factor design principle off getting configuration from the environment, as they essentially hardcode the values.
Thats usually solved by ommitting the .env in deployment so that things like azure or kubernetes (and probably AWS's equivelents) can then supply those values in via the environment.
The problem is, fastenv's behavior when removing .env is to crash.
Am I missing something important here?
Beta Was this translation helpful? Give feedback.
All reactions