config: add env_merge support to containers.conf#791
Conversation
|
restarted failed tests, not related to the change. |
|
I think adding test into You could also test |
|
as for a tests here is an example commit b2db08d |
79cd99a to
a711841
Compare
|
Thanks guys for the comments and the helpful example. I have updated the changes. changes
resultgo test ./common/pkg/config -ginkgo.focus="Config Modules"
go test ./common/pkg/config -ginkgo.focus="should parse env_merge from config file"
ok go.podman.io/common/pkg/config 0.006s
ok go.podman.io/common/pkg/config 0.007s |
a711841 to
5031f6b
Compare
|
please squash the commits into a single one |
5031f6b to
44aeee5
Compare
|
of course, rebased |
44aeee5 to
e1e7a15
Compare
Allow users to set default env_merge values in containers.conf. Works the same as the --env-merge CLI option. Fixes: containers/podman#28410 Signed-off-by: Jiwoo Ahn <ikwydls1314@gmail.com>
e1e7a15 to
8a2d75a
Compare
|
Hey maintainers, can you guys please take another look when you have time. |
Allow users to set default
env_mergevalues in containers.conf. Intended to work the same as the--env-mergeCLI option.env_mergeto containers.conf podman#28410Changes
EnvMerge []stringfield toContainersConfigstruct (config.go)default.go)env_merge = []entry tocontainers.conftemplatecontainers.conf.5.md