spiegel_podman/pkg/specgen/generate
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
..
kube Add init containers to generate and play kube 2021-09-10 09:37:46 -04:00
config_linux.go Add filepath glob support to --security-opt unmask 2021-05-04 14:40:43 -04:00
config_linux_cgo.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
config_linux_nocgo.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
config_linux_test.go Add filepath glob support to --security-opt unmask 2021-05-04 14:40:43 -04:00
container.go implement init containers in podman 2021-08-04 14:14:36 -05:00
container_create.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
namespaces.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
oci.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
pod_create.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
ports.go Merge pull request #11314 from Luap99/expose-ports 2021-08-25 09:29:03 -04:00
security.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
storage.go fix: unifiedOverlays should be assigned if no conflicts found. 2021-08-17 20:53:32 +05:30
validate.go bump go module to v3 2021-02-22 09:03:51 +01:00