spiegel_podman/pkg/domain
Paul Holzinger 5327df1921 quadlet kube: correctly mark unit as failed
When no containers could be started we need to make sure the unit status
reflects this. This means we should not send the READ=1 message and not
keep the service container running when we were unable to start any
container.

There is the question what should happen when only a subset was started.
For systemd we can only be either running or failed. And as podman kube
play also just keeps the partial started pods running I opted to let
systemd keep considering this as success.

Fixes #20667
Fixes https://issues.redhat.com/browse/RHEL-80471

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-03-10 13:16:58 -04:00
..
entities Add type and annotations to artifact add 2025-02-04 15:13:00 -05:00
filters Replace golang.org/x/exp/slices with slices from std 2024-04-23 11:16:40 +02:00
infra quadlet kube: correctly mark unit as failed 2025-03-10 13:16:58 -04:00
utils Add type and annotations to artifact add 2025-02-04 15:13:00 -05:00