diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2021-04-15 18:24:22 +0200 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2021-04-15 18:24:22 +0200 |
commit | 1685c2dc36d3595fabc53451b60909937c64505b (patch) | |
tree | ba2abcf770af76ba193aaa5c0072bb3f60e5d810 /pkg/domain/infra/abi | |
parent | b074e80351de2be0ea2888ac54f92bc542209a36 (diff) | |
download | podman-1685c2dc36d3595fabc53451b60909937c64505b.tar.gz podman-1685c2dc36d3595fabc53451b60909937c64505b.tar.bz2 podman-1685c2dc36d3595fabc53451b60909937c64505b.zip |
podman play kube apply correct log driver
The --log-driver flag was silently ignored by podman play kube. This
regression got introduced during the play kube rework.
Unfortunately the test for this was skipped for no good reason.
Fixes #10015
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'pkg/domain/infra/abi')
-rw-r--r-- | pkg/domain/infra/abi/play.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/play.go b/pkg/domain/infra/abi/play.go index 52f759f13..6eecef2de 100644 --- a/pkg/domain/infra/abi/play.go +++ b/pkg/domain/infra/abi/play.go @@ -300,6 +300,7 @@ func (ic *ContainerEngine) playKubePod(ctx context.Context, podName string, podY RestartPolicy: ctrRestartPolicy, NetNSIsHost: p.NetNS.IsHost(), SecretsManager: secretsManager, + LogDriver: options.LogDriver, } specGen, err := kube.ToSpecGen(ctx, &specgenOpts) if err != nil { |