Skip to content

Commit

Permalink
allowed underscores to remain in name for YAML
Browse files Browse the repository at this point in the history
Signed-off-by: Parker Van Roy <[email protected]>
  • Loading branch information
ParkerVR committed Sep 10, 2020
1 parent 89a3483 commit aaf18e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpod/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aaf18e0

Please sign in to comment.