podman kube play reads only the first entity in the configmap files passed with --configmap #18537
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.
Issue Description
When using
podman kube play
the caller may pass an additional file that includes config maps though the--configmap
parameter. When this parameter is passed, podman reads and processes only the first entity in the file. However, a YAML file may include multiple sections. As a result, users cannot hold multiple configmaps in one file.Steps to reproduce the issue
Steps to reproduce the issue
podman kube play --configmap=./config-map.yaml pod.yaml
Describe the results you received
Error: cannot set env : configmap not found
Describe the results you expected
Podman should read the entire configmap file and extract all the entities inside it.
podman info output
If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: