diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-11 00:25:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 00:25:09 +0100 |
commit | ed9ef59e7ea439b670875863132b68fd094501c7 (patch) | |
tree | 02ef3d057b928b7903954a54dc7ba0f7ab466763 /libpod | |
parent | 2790b5c69c729df7ba83b214800de387fd43c646 (diff) | |
parent | 19a475906612b603b11fbbf6ee6a6978a4bd9586 (diff) | |
download | podman-ed9ef59e7ea439b670875863132b68fd094501c7.tar.gz podman-ed9ef59e7ea439b670875863132b68fd094501c7.tar.bz2 podman-ed9ef59e7ea439b670875863132b68fd094501c7.zip |
Merge pull request #12780 from rhatdan/pod
Use the InfraImage defined in containers.conf
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/kube.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/kube.go b/libpod/kube.go index d667616d0..f465fc776 100644 --- a/libpod/kube.go +++ b/libpod/kube.go @@ -595,7 +595,7 @@ func containerToV1Container(ctx context.Context, c *Container) (v1.Container, [] // pause one and make sure it's in the storage by pulling it down if // missing. if image == "" && c.IsInfra() { - image = config.DefaultInfraImage + image = c.runtime.config.Engine.InfraImage if _, err := c.runtime.libimageRuntime.Pull(ctx, image, config.PullPolicyMissing, nil); err != nil { return kubeContainer, nil, nil, nil, err } |