imagePullPolicy
should be set to Always
when both imagePullPolicy and tag are missing
#21211
Labels
kind/bug
Categorizes issue or PR as related to a bug.
kube
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
stale-issue
Issue Description
The behaviour of
podman kube play file.yaml
does not match the Kubernetes docs:imagePullPolicy
field, and you don't specify the tag for thecontainer image,
imagePullPolicy
is automatically set toAlways
;Reference:
https://github.com/kubernetes/website/blob/589540642638c035d824162ef9f57ba4234cb1e6/content/en/docs/concepts/containers/images.md?plain=1#L120-L121
Steps to reproduce the issue
On a Fedora CoreOS 40.20231209.91.0 machine with Podman 4.8.1 do these steps
bash /tmp/test.bash test1 ""
bash /tmp/test.bash test2 ":latest"
Describe the results you received
Step 3 prints the output
Step 4 prints the output
Describe the results you expected
I would have expected step 3 and step 4 to show similar output (something like what step 4 produces).
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
(I also tried Podman 4.8.3)
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: