mirror of
https://github.com/containers/podman.git
synced 2025-12-07 06:11:07 +08:00
Merge pull request #20479 from ygalblum/quadlet-read-only
Quadlet - explicit support for read-only-tmpfs
This commit is contained in:
@@ -4,4 +4,4 @@
|
||||
[Container]
|
||||
Image=localhost/imagename
|
||||
ReadOnly=yes
|
||||
VolatileTmp=no
|
||||
ReadOnlyTmpfs=no
|
||||
|
||||
7
test/e2e/quadlet/readonly-tmpfs.container
Normal file
7
test/e2e/quadlet/readonly-tmpfs.container
Normal file
@@ -0,0 +1,7 @@
|
||||
## assert-podman-args "--read-only-tmpfs"
|
||||
## assert-podman-args "--read-only"
|
||||
|
||||
[Container]
|
||||
Image=localhost/imagename
|
||||
ReadOnly=yes
|
||||
ReadOnlyTmpfs=yes
|
||||
6
test/e2e/quadlet/readonly.container
Normal file
6
test/e2e/quadlet/readonly.container
Normal file
@@ -0,0 +1,6 @@
|
||||
## !assert-podman-args "--read-only-tmpfs"
|
||||
## assert-podman-args "--read-only"
|
||||
|
||||
[Container]
|
||||
Image=localhost/imagename
|
||||
ReadOnly=yes
|
||||
6
test/e2e/quadlet/volatiletmp-readonly.container
Normal file
6
test/e2e/quadlet/volatiletmp-readonly.container
Normal file
@@ -0,0 +1,6 @@
|
||||
## !assert-podman-args "--tmpfs" "/tmp:rw,size=512M,mode=1777"
|
||||
|
||||
[Container]
|
||||
Image=localhost/imagename
|
||||
VolatileTmp=yes
|
||||
ReadOnly=yes
|
||||
@@ -1,8 +1,5 @@
|
||||
## !assert-podman-args "--read-only"
|
||||
## assert-podman-args "--read-only=false"
|
||||
## assert-podman-args "--tmpfs" "/tmp:rw,size=512M,mode=1777"
|
||||
|
||||
[Container]
|
||||
Image=localhost/imagename
|
||||
VolatileTmp=yes
|
||||
ReadOnly=no
|
||||
@@ -709,9 +709,12 @@ BOGUS=foo
|
||||
Entry("ports.container", "ports.container", 0, ""),
|
||||
Entry("ports_ipv6.container", "ports_ipv6.container", 0, ""),
|
||||
Entry("pull.container", "pull.container", 0, ""),
|
||||
Entry("readonly.container", "readonly.container", 0, ""),
|
||||
Entry("readonly-tmpfs.container", "readonly-tmpfs.container", 0, ""),
|
||||
Entry("readonly-notmpfs.container", "readonly-notmpfs.container", 0, ""),
|
||||
Entry("readwrite-notmpfs.container", "readwrite-notmpfs.container", 0, ""),
|
||||
Entry("readwrite.container", "readwrite.container", 0, ""),
|
||||
Entry("volatiletmp-readwrite.container", "volatiletmp-readwrite.container", 0, ""),
|
||||
Entry("volatiletmp-readonly.container", "volatiletmp-readonly.container", 0, ""),
|
||||
Entry("remap-auto.container", "remap-auto.container", 0, ""),
|
||||
Entry("remap-auto2.container", "remap-auto2.container", 0, ""),
|
||||
Entry("remap-keep-id.container", "remap-keep-id.container", 0, ""),
|
||||
|
||||
Reference in New Issue
Block a user