spiegel_podman/pkg/specgen
Urvashi Mohnani f5e4ffb5e4 Add init containers to generate and play kube
Kubernetes has a concept of init containers that run and exit before
the regular containers in a pod are started. We added init containers
to podman pods as well. This patch adds support for generating init
containers in the kube yaml when a pod we are converting had init
containers. When playing a kube yaml, it detects an init container
and creates such a container in podman accordingly.
Note, only init containers created with the init type set to "always"
will be generated as the "once" option deletes the init container after
it has run and exited. Play kube will always creates init containers
with the "always" init container type.

Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2021-09-10 09:37:46 -04:00
..
generate Add init containers to generate and play kube 2021-09-10 09:37:46 -04:00
config_unsupported.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
container_validate.go bump go module to v3 2021-02-22 09:03:51 +01:00
namespaces.go Add support for pod inside of user namespace. 2021-08-09 15:17:22 -04:00
pod_validate.go --infra-name command line argument 2021-07-15 21:27:51 -03:00
podspecgen.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
specgen.go Network interface 2021-08-24 12:28:03 +02:00
volumes.go libpod/option.go remove error stutter from wrap/wraf 2021-08-17 16:14:02 +05:30