spiegel_podman/pkg/domain
Christoph Petrausch 4191616cc5 Don't rename pod if container has the same name
We enforce the naming scheme "<podname>-<containername>" here [1].
Therefore we must not rename the pod in case of a naming conflict
between pod name and container name. Not renaming the pod increases the
usability for the user and easies scripting based on the name. Otherwise
a user must set some label to reliable find a pod after creation. Or
have to implement the renaming logic in the script.

[1] https://github.com/containers/podman/blob/main/pkg/specgen/generate/kube/kube.go#L140

Fixes #12722

Signed-off-by: Christoph Petrausch <chrobbert@gmail.com>
2022-01-06 16:48:20 +01:00
..
entities Merge pull request #12208 from cdoern/podSecurityOpt 2022-01-05 17:56:36 +01:00
filters Merge pull request #12534 from Luap99/network-db 2021-12-15 15:25:14 +01:00
infra Don't rename pod if container has the same name 2022-01-06 16:48:20 +01:00
utils Add filtering functionality to http api secrets list 2021-09-03 10:29:31 +02:00