Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/Allow env file to override environment #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scalen
Copy link

@scalen scalen commented Apr 4, 2022

Prior to this change, the environment always took precedence when there
was a value specified in both the env file and the environment. This
was not suitable to all use-cases (such as those in Kubernetes, where
environment variables are commonly much less controlled and, so, much
more vulnerable to malicious value injection).

This change allows the developer to choose which takes precedence, the
environment or the env file (with the current behaviour remaining the
default).

Completes #40

Prior to this change, the environment always took precedence when there
was a value specified in both the env file and the environment.  This
was not suitable to all use-cases (such as those in Kubernetes, where
environment variables are commonly much less controlled and, so, much
more vulnerable to malicious value injection).

This change allows the developer to choose which takes precedence, the
environment or the env file (with the current behaviour remaining the
default).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant