diff options
author | Brent Baude <bbaude@redhat.com> | 2021-11-22 11:50:08 -0600 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2021-11-22 11:50:08 -0600 |
commit | 9c8fb5cc0c0eb17adac1c2ddb43e23cd723c718b (patch) | |
tree | f564e502b0a06f330dd2fbf4e1389d1bd5312419 /libpod/network/netavark/run_test.go | |
parent | 26b45a1564fb01090f6a10776922654641a76681 (diff) | |
download | podman-9c8fb5cc0c0eb17adac1c2ddb43e23cd723c718b.tar.gz podman-9c8fb5cc0c0eb17adac1c2ddb43e23cd723c718b.tar.bz2 podman-9c8fb5cc0c0eb17adac1c2ddb43e23cd723c718b.zip |
Rename pod on generate of container
When generating kube of a container, the podname and container name in
the yaml are identical. This offends rules in podman where pods and
containers cannot have the same name. We now append _pod to the
podname to avoid that collision.
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'libpod/network/netavark/run_test.go')
0 files changed, 0 insertions, 0 deletions