Roundtrip kube yml fails on capabilities and volumes #3689
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug
EDIT Clarified desired results with volume mounts
Description
I've been excited to try to kube pod deployment using podman. To get started, I decided to try Hashicorp Vault. Vault requires the IPC_LOCK capability by default to protect against other processes reading its memory. That's easy enough to do using podman, so I threw it into its own new pod.
I then generate a YAML config, stop and remove the pod/containers, then try to play the same config.
Steps to reproduce the issue:
Generated Config: k8s-pod-vault.yml
Describe the results you received:
Vault quits (container stops) with the following error:
Describe the results you expected:
I expected that at least the configuration exported would work as written. Namely:
CAP_IPC_LOCK
options do nothing (also should only need one?)hostPath
s works (seemingly).Here's the manifest that I'd like to be roundtrip-able (I think, I'm not a k8s expert)
podman-desired-roundtrip-vault.yml
NOTE This desired roundtrip manifest is a slightly different run command line. Namely, the port publishing does work round trip, and I added an environment variable.
Output of
podman version
:Output of
podman info --debug
:Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: