From aaf18e0cbe758d75fd5c9ddbcda6e34fc00d6304 Mon Sep 17 00:00:00 2001 From: Parker Van Roy Date: Thu, 10 Sep 2020 15:27:11 -0400 Subject: [PATCH] allowed underscores to remain in name for YAML Signed-off-by: Parker Van Roy --- libpod/kube.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpod/kube.go b/libpod/kube.go index 5f2c9e0fd4..864bc78c76 100644 --- a/libpod/kube.go +++ b/libpod/kube.go @@ -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