quadlet: Support Type=oneshot container files

These just run once and are considered successful at exist. Not much is
needed to support it, but we have to avoid overwriting the type
with Type=notify.

Signed-off-by: Alexander Larsson <alexl@redhat.com>
This commit is contained in:
Alexander Larsson
2022-12-20 15:53:26 +01:00
parent 236f0cc504
commit 0179aa2451
5 changed files with 54 additions and 13 deletions

View File

@@ -366,6 +366,7 @@ var _ = Describe("quadlet system generator", func() {
Entry("network.quadlet.container", "network.quadlet.container"),
Entry("noimage.container", "noimage.container"),
Entry("notify.container", "notify.container"),
Entry("oneshot.container", "oneshot.container"),
Entry("other-sections.container", "other-sections.container"),
Entry("podmanargs.container", "podmanargs.container"),
Entry("ports.container", "ports.container"),