spiegel_podman/pkg/specgen
Valentin Rothberg 840c120c21 play kube: service container
Add the notion of a "service container" to play kube.  A service
container is started before the pods in play kube and is (reverse)
linked to them.  The service container is stopped/removed *after*
all pods it is associated with are stopped/removed.

In other words, a service container tracks the entire life cycle
of a service started via `podman play kube`.  This is required to
enable `play kube` in a systemd unit file.

The service container is only used when the `--service-container`
flag is set on the CLI.  This flag has been marked as hidden as it
is not meant to be used outside the context of `play kube`.  It is
further not supported on the remote client.

The wiring with systemd will be done in a later commit.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-05-12 10:51:13 +02:00
..
generate play kube: service container 2022-05-12 10:51:13 +02:00
config_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
container_validate.go enable gocritic linter 2022-04-26 18:12:22 +02:00
namespaces.go Merge pull request #13973 from Luap99/linter-revive 2022-04-23 06:32:41 -04:00
namespaces_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_validate.go bump go module to version 4 2022-01-18 12:47:07 +01:00
podspecgen.go play kube: service container 2022-05-12 10:51:13 +02:00
specgen.go run, create: add --passwd-entry 2022-04-14 11:22:13 +02:00
specgen_test.go fix test 2021-10-11 17:41:58 +08:00
volumes.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath.go enable gocritic linter 2022-04-26 18:12:22 +02:00
winpath_linux.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_unsupported.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_windows.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00