mirror of
https://github.com/containers/podman.git
synced 2025-12-04 20:28:40 +08:00
Quadlet .pod - add support for the Network Key
Add e2e tests Update documentation Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
4
test/e2e/quadlet/network.pod
Normal file
4
test/e2e/quadlet/network.pod
Normal file
@@ -0,0 +1,4 @@
|
||||
## assert-podman-pre-args "--network=host"
|
||||
|
||||
[Pod]
|
||||
Network=host
|
||||
6
test/e2e/quadlet/network.quadlet.pod
Normal file
6
test/e2e/quadlet/network.quadlet.pod
Normal file
@@ -0,0 +1,6 @@
|
||||
## assert-podman-pre-args "--network=systemd-basic"
|
||||
## assert-key-is "Unit" "Requires" "basic-network.service"
|
||||
## assert-key-is "Unit" "After" "basic-network.service"
|
||||
|
||||
[Pod]
|
||||
Network=basic.network
|
||||
@@ -901,6 +901,8 @@ BOGUS=foo
|
||||
|
||||
Entry("basic.pod", "basic.pod", 0, ""),
|
||||
Entry("name.pod", "name.pod", 0, ""),
|
||||
Entry("network.pod", "network.pod", 0, ""),
|
||||
Entry("network-quadlet.pod", "network.quadlet.pod", 0, ""),
|
||||
Entry("podmanargs.pod", "podmanargs.pod", 0, ""),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user