mirror of
https://github.com/containers/podman.git
synced 2025-08-02 17:22:30 +08:00
allowed underscores to remain in name for YAML
Signed-off-by: Parker Van Roy <pvanroy@redhat.com>
This commit is contained in:
@ -191,7 +191,7 @@ func addContainersAndVolumesToPodObject(containers []v1.Container, volumes []v1.
|
||||
labels["app"] = removeUnderscores(podName)
|
||||
om := v12.ObjectMeta{
|
||||
// The name of the pod is container_name-libpod
|
||||
Name: removeUnderscores(podName),
|
||||
Name: podName,
|
||||
Labels: labels,
|
||||
// CreationTimestamp seems to be required, so adding it; in doing so, the timestamp
|
||||
// will reflect time this is run (not container create time) because the conversion
|
||||
|
Reference in New Issue
Block a user