-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
allow exec to read files of environment variables #4677
Conversation
we want the ability to define environment variables in files for the exec command. Fixes: #1782408 Signed-off-by: baude <bbaude@redhat.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: baude The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM |
Does this actually work. I see changes to the CLI, but not calls that actually use the env-file. Or is this just built into libpod, since the code is using the same code as run/create? |
it works yes |
pending version branch |
**--env-file**=*file* | ||
|
||
Read in a line delimited file of environment variables. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an example of what such a line would look like would be awesome down in the examples section.
/hold cancel |
we want the ability to define environment variables in files for the
exec command.
Fixes: #1782408
Signed-off-by: baude bbaude@redhat.com